public class PersistentReadWriteLockedOffHeapHashMap<K,V> extends AbstractPersistentLockedOffHeapHashMap<K,V>
AbstractLockedOffHeapHashMap.LockedEntryIterator, AbstractLockedOffHeapHashMap.LockedEntrySet, AbstractLockedOffHeapHashMap.LockedKeyIterator, AbstractLockedOffHeapHashMap.LockedKeySetOffHeapHashMap.EncodingIterator, OffHeapHashMap.EncodingSet, OffHeapHashMap.EntryIterator, OffHeapHashMap.EntrySet, OffHeapHashMap.HashIterator<T>, OffHeapHashMap.KeyIterator, OffHeapHashMap.KeySetAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>ENCODING, ENTRY_BIT_SHIFT, ENTRY_SIZE, hashtable, hashTablePage, KEY_HASHCODE, modCount, removedSlots, reprobeLimit, RESERVED_STATUS_BITS, size, STATUS, STATUS_REMOVED, STATUS_USED, storageEngine, tableSource| Constructor and Description |
|---|
PersistentReadWriteLockedOffHeapHashMap(MappedPageSource tableSource,
PersistentStorageEngine<? super K,? super V> storageEngine,
boolean bootstrap) |
PersistentReadWriteLockedOffHeapHashMap(MappedPageSource tableSource,
PersistentStorageEngine<? super K,? super V> storageEngine,
int tableSize,
boolean bootstrap) |
| Modifier and Type | Method and Description |
|---|---|
ReentrantReadWriteLock |
getLock()
Return the
ReentrantReadWriteLock used by this segment. |
Lock |
readLock() |
Lock |
writeLock() |
bootstrap, close, flush, persistclear, computeIfAbsentWithMetadata, computeIfPresentWithMetadata, computeWithMetadata, containsKey, createEntrySet, createKeySet, destroy, evict, fill, fill, get, getAndSetMetadata, getEncodingForHashAndBinary, getMetadata, getValueAndSetMetadata, installMappingForHashAndEncoding, put, put, putIfAbsent, remove, remove, removeAllWithHash, removeMapping, removeNoReturn, replace, replace, shrink, sizeadded, createEncodingSet, encodingSet, entrySet, fill, freePendingTables, getAllocatedMemory, getAtTableOffset, getDataAllocatedMemory, getDataOccupiedMemory, getDataSize, getDataVitalMemory, getEntryAtTableOffset, getOccupiedMemory, getRemovedSlotCount, getReprobeLength, getSize, getSlotForHashAndEncoding, getStorageEngine, getTableCapacity, getUsedSlotCount, getVitalMemory, hit, indexFor, indexFor, isAvailable, isPresent, isRemoved, isRemoved, isTerminating, isTerminating, isThiefForTableAllocations, keySet, readLong, readLong, removeAtTableOffset, removed, shrinkTable, spread, storageEngineFailure, tableExpansionFailure, tryIncreaseReprobe, updated, updateEncodingclone, containsValue, equals, hashCode, isEmpty, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllgetAllocatedMemory, getDataAllocatedMemory, getDataOccupiedMemory, getDataSize, getDataVitalMemory, getOccupiedMemory, getRemovedSlotCount, getReprobeLength, getSize, getTableCapacity, getUsedSlotCount, getVitalMemorypublic PersistentReadWriteLockedOffHeapHashMap(MappedPageSource tableSource, PersistentStorageEngine<? super K,? super V> storageEngine, boolean bootstrap)
public PersistentReadWriteLockedOffHeapHashMap(MappedPageSource tableSource, PersistentStorageEngine<? super K,? super V> storageEngine, int tableSize, boolean bootstrap)
public Lock readLock()
readLock in interface ReadWriteLockreadLock in class AbstractLockedOffHeapHashMap<K,V>public Lock writeLock()
writeLock in interface ReadWriteLockwriteLock in class AbstractLockedOffHeapHashMap<K,V>public ReentrantReadWriteLock getLock()
SegmentReentrantReadWriteLock used by this segment.Copyright © 2015–2024. All rights reserved.