public static class ManagedConcurrentMap.Segment<K,V> extends AbstractConcurrentMap.Segment<K,V>
Modifier and Type | Field | Description |
---|---|---|
protected ReferenceBundle |
bundle |
table
Constructor | Description |
---|---|
Segment(ReferenceBundle bundle,
int cap) |
Modifier and Type | Method | Description |
---|---|---|
protected AbstractConcurrentMap.Entry<K,V> |
createEntry(K key,
int hash,
V value) |
get, getOrPut, put, remove
getExclusiveOwnerThread, setExclusiveOwnerThread
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
isHeldExclusively, lock, tryAcquire, tryRelease, unlock
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>