Package org.terracotta.offheapstore
Interface HashingMap<K,V>
- All Superinterfaces:
Map<K,V>
- All Known Subinterfaces:
PinnableSegment<K,,V> Segment<K,V>
- All Known Implementing Classes:
AbstractConcurrentOffHeapCache,AbstractConcurrentOffHeapMap,AbstractLockedOffHeapHashMap,AbstractOffHeapClockCache,AbstractPersistentConcurrentOffHeapCache,AbstractPersistentConcurrentOffHeapMap,AbstractPersistentLockedOffHeapHashMap,AbstractPersistentOffHeapCache,ConcurrentOffHeapClockCache,ConcurrentOffHeapHashMap,ConcurrentWriteLockedOffHeapClockCache,ConcurrentWriteLockedOffHeapHashMap,EvictionListeningReadWriteLockedOffHeapClockCache,EvictionListeningWriteLockedOffHeapClockCache,OffHeapHashMap,PersistentConcurrentOffHeapClockCache,PersistentConcurrentOffHeapHashMap,PersistentReadWriteLockedOffHeapClockCache,PersistentReadWriteLockedOffHeapHashMap,ReadWriteLockedOffHeapClockCache,ReadWriteLockedOffHeapHashMap,WriteLockedOffHeapClockCache,WriteLockedOffHeapHashMap
Interface of all map implementations based on hash-coding.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionremoveAllWithHash(int keyHash) Remove all keys having a specific hashcode.Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
removeAllWithHash
Remove all keys having a specific hashcode.- Parameters:
keyHash- the hashcode of the keys to be removed.- Returns:
- a
Mapcontaining the removed mappings.
-