K - the type of keys maintained by this mapV - the type of mapped valuespublic class ConcurrentOffHeapHashMap<K,V> extends AbstractConcurrentOffHeapMap<K,V>
This implementation uses instances of ReadWriteLockedOffHeapHashMap
for its segments.
ReadWriteLockedOffHeapHashMapAbstractConcurrentOffHeapMap.AggregateIterator<T>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>segments| Constructor and Description |
|---|
ConcurrentOffHeapHashMap(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory) |
ConcurrentOffHeapHashMap(PageSource tableSource,
boolean tableAllocationsSteal,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
long tableSize,
int concurrency) |
ConcurrentOffHeapHashMap(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
Creates a map using the given table buffer source and storage engine
factory.
|
ConcurrentOffHeapHashMap(PageSource tableSource,
Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory,
long tableSize,
int concurrency)
Creates a map using the given table buffer source, storage engine
factory, initial table size, and concurrency.
|
clear, computeIfAbsentWithMetadata, computeIfPresentWithMetadata, computeWithMetadata, containsKey, containsValue, destroy, entrySet, fill, fill, get, getAllocatedMemory, getAndSetMetadata, getConcurrency, getDataAllocatedMemory, getDataOccupiedMemory, getDataSize, getDataVitalMemory, getIndexFor, getMetadata, getOccupiedMemory, getRemovedSlotCount, getReprobeLength, getSegmentInternals, getSegments, getSize, getTableCapacity, getUsedSlotCount, getValueAndSetMetadata, getVitalMemory, handleOversizeMappingException, keySet, put, put, putIfAbsent, readLockAll, readUnlockAll, remove, remove, removeAllWithHash, removeNoReturn, replace, replace, segmentFor, segmentFor, size, values, writeLockAll, writeUnlockAllclone, equals, hashCode, isEmpty, putAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic ConcurrentOffHeapHashMap(PageSource tableSource, Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
tableSource - buffer source from which hash tables are allocatedstorageEngineFactory - factory for the segment storage enginespublic ConcurrentOffHeapHashMap(PageSource tableSource, boolean tableAllocationsSteal, Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory)
public ConcurrentOffHeapHashMap(PageSource tableSource, Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory, long tableSize, int concurrency)
tableSource - buffer source from which hash tables are allocatedstorageEngineFactory - factory for the segment storage enginestableSize - initial table size (summed across all segments)concurrency - number of segmentspublic ConcurrentOffHeapHashMap(PageSource tableSource, boolean tableAllocationsSteal, Factory<? extends StorageEngine<? super K,? super V>> storageEngineFactory, long tableSize, int concurrency)
Copyright © 2015–2024. All rights reserved.