Peeks to see key
is contained in the cache and returns the matching Object if it does.
The reference count of the resulting Object is not incremented. For that reason, it is important to remember that this function may only be called from the main thread.
this |
An TaskCache |
key |
The key for the cache |
A Object or null if the key was not found in the cache. |