public interface PeekableTouchableMap<K,V> extends ConcurrentMap<K,InternalCacheEntry<K,V>>
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry<K,V> |
peek(Object key)
Peaks at a value for the given key.
|
boolean |
touchKey(Object key,
long currentTimeMillis)
Touches the entry for the given key in this map.
|
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
InternalCacheEntry<K,V> peek(Object key)
key
- The key to find the value forboolean touchKey(Object key, long currentTimeMillis)
key
- key to touchcurrentTimeMillis
- the recency timestamp to setCopyright © 2021 JBoss by Red Hat. All rights reserved.