Package org.infinispan.commons.util
Interface PeekableMap<K,V>
-
- All Superinterfaces:
java.util.Map<K,V>
- All Known Implementing Classes:
OffHeapConcurrentMap
public interface PeekableMap<K,V> extends java.util.Map<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
peek(java.lang.Object key)
Peaks at a value for the given key.
-
-
-
Method Detail
-
peek
V peek(java.lang.Object key)
Peaks at a value for the given key. Note that this does not update any expiration or eviction information when this is performed on the map, unlike the get method.- Parameters:
key
- The key to find the value for- Returns:
- The value mapping to this key
-
-