Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Checks for a valid entry corresponding to the specified key in
the cache, and returns the corresponding value if it is.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic virtual Object Peek(
Object key
)
Parameters
- key
- Type: SystemObject
The key to "peek" into the cache for.
Return Value
Type:
Object
The value corresponding to the specified key.
Remarks
If it is not in the cache, returns null, and does not
attempt to load the value using its cache loader.
See Also