static final class ComputingConcurrentHashMap.ComputingSegment<K,V> extends MapMakerInternalMap.Segment<K,V>
count, evictionQueue, expirationQueue, keyReferenceQueue, map, maxSegmentSize, modCount, readCount, recencyQueue, table, threshold, valueReferenceQueue
Constructor and Description |
---|
ComputingSegment(MapMakerInternalMap<K,V> map,
int initialCapacity,
int maxSegmentSize) |
Modifier and Type | Method and Description |
---|---|
(package private) V |
compute(K key,
int hash,
MapMakerInternalMap.ReferenceEntry<K,V> e,
ComputingConcurrentHashMap.ComputingValueReference<K,V> computingValueReference) |
(package private) V |
getOrCompute(K key,
int hash,
Function<? super K,? extends V> computingFunction) |
clear, clearKeyReferenceQueue, clearReferenceQueues, clearValue, clearValueReferenceQueue, containsKey, containsValue, copyEntry, drainKeyReferenceQueue, drainRecencyQueue, drainReferenceQueues, drainValueReferenceQueue, enqueueNotification, enqueueNotification, evictEntries, expand, expireEntries, get, getEntry, getFirst, getLiveEntry, getLiveValue, initTable, isCollected, newEntry, newEntryArray, postReadCleanup, postWriteCleanup, preWriteCleanup, put, reclaimKey, reclaimValue, recordExpirationTime, recordLockedRead, recordRead, recordWrite, remove, remove, removeCollectedEntry, removeEntry, removeFromChain, replace, replace, runCleanup, runLockedCleanup, runUnlockedCleanup, setValue, tryDrainReferenceQueues, tryExpireEntries
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
ComputingSegment(MapMakerInternalMap<K,V> map, int initialCapacity, int maxSegmentSize)
V getOrCompute(K key, int hash, Function<? super K,? extends V> computingFunction) throws java.util.concurrent.ExecutionException
java.util.concurrent.ExecutionException
V compute(K key, int hash, MapMakerInternalMap.ReferenceEntry<K,V> e, ComputingConcurrentHashMap.ComputingValueReference<K,V> computingValueReference) throws java.util.concurrent.ExecutionException
java.util.concurrent.ExecutionException