org.ehcache.impl.internal.store.offheap
Interface EhcacheOffHeapBackingMap<K,V>
- All Superinterfaces:
- java.util.concurrent.ConcurrentMap<K,V>, java.util.Map<K,V>
- All Known Implementing Classes:
- EhcacheConcurrentOffHeapClockCache, EhcachePersistentConcurrentOffHeapClockCache
public interface EhcacheOffHeapBackingMap<K,V>
- extends java.util.concurrent.ConcurrentMap<K,V>
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
V |
compute(K key,
BiFunction<K,V,V> mappingFunction,
boolean pin)
|
boolean |
computeIfPinned(K key,
BiFunction<K,V,V> remappingFunction,
Function<V,java.lang.Boolean> pinningFunction)
|
V |
computeIfPresent(K key,
BiFunction<K,V,V> mappingFunction)
|
V |
getAndPin(K key)
|
java.lang.Integer |
getAndSetMetadata(K key,
int mask,
int metadata)
|
java.util.List<org.terracotta.offheapstore.Segment<K,V>> |
getSegments()
|
long |
nextIdFor(K key)
|
boolean |
shrinkOthers(int excludedHash)
|
Methods inherited from interface java.util.concurrent.ConcurrentMap |
putIfAbsent, remove, replace, replace |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
compute
V compute(K key,
BiFunction<K,V,V> mappingFunction,
boolean pin)
computeIfPresent
V computeIfPresent(K key,
BiFunction<K,V,V> mappingFunction)
computeIfPinned
boolean computeIfPinned(K key,
BiFunction<K,V,V> remappingFunction,
Function<V,java.lang.Boolean> pinningFunction)
nextIdFor
long nextIdFor(K key)
getAndPin
V getAndPin(K key)
getAndSetMetadata
java.lang.Integer getAndSetMetadata(K key,
int mask,
int metadata)
getSegments
java.util.List<org.terracotta.offheapstore.Segment<K,V>> getSegments()
shrinkOthers
boolean shrinkOthers(int excludedHash)