Serializablepublic static class ManagedConcurrentMap.Segment<K,V> extends AbstractConcurrentMap.Segment<K,V>
AbstractQueuedSynchronizer.ConditionObject| 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, removegetExclusiveOwnerThread, setExclusiveOwnerThreadacquire, 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, tryReleaseSharedisHeldExclusively, lock, tryAcquire, tryRelease, unlockprotected 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>