public static class ManagedConcurrentMap.Segment<K,V> extends AbstractConcurrentMap.Segment<K,V>
AbstractQueuedSynchronizer.ConditionObject
Modifier and Type | Field and Description |
---|---|
protected ReferenceBundle |
bundle |
table
Constructor and Description |
---|
Segment(ReferenceBundle bundle,
int cap) |
Modifier and Type | Method and Description |
---|---|
protected AbstractConcurrentMap.Entry<K,V> |
createEntry(K key,
int hash,
V value) |
get, getOrPut, put, remove
isHeldExclusively, lock, tryAcquire, tryRelease, unlock
acquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isQueued, owns, release, releaseShared, setState, toString, tryAcquireNanos, tryAcquireShared, tryAcquireSharedNanos, tryReleaseShared
getExclusiveOwnerThread, setExclusiveOwnerThread
protected final ReferenceBundle bundle
public Segment(ReferenceBundle bundle, int cap)
protected AbstractConcurrentMap.Entry<K,V> createEntry(K key, int hash, V value)
createEntry
in class AbstractConcurrentMap.Segment<K,V>