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

public interface HashingMap<K,V>
extends Map<K,V>

Interface of all map implementations based on hash-coding.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Map<K,V> removeAllWithHash(int keyHash)
          Remove all keys having a specific hashcode.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

removeAllWithHash

Map<K,V> removeAllWithHash(int keyHash)
Remove all keys having a specific hashcode.

Parameters:
keyHash - the hashcode of the keys to be removed.
Returns:
a Map containing the removed mappings.


Copyright © 2016. All Rights Reserved.