SerializableManagedConcurrentMap.Segmentpublic abstract static class AbstractConcurrentMap.Segment<K,V> extends AbstractConcurrentMapBase.Segment
AbstractQueuedSynchronizer.ConditionObjecttable| Modifier | Constructor | Description |
|---|---|---|
protected |
Segment(int initialCapacity) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract AbstractConcurrentMap.Entry<K,V> |
createEntry(K key,
int hash,
V value) |
|
V |
get(K key,
int hash) |
|
AbstractConcurrentMap.Entry<K,V> |
getOrPut(K key,
int hash,
V value) |
|
AbstractConcurrentMap.Entry |
put(K key,
int hash,
V value) |
|
void |
remove(K key,
int hash) |
getExclusiveOwnerThread, 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, unlockpublic final AbstractConcurrentMap.Entry<K,V> getOrPut(K key, int hash, V value)
public final AbstractConcurrentMap.Entry put(K key, int hash, V value)
public void remove(K key, int hash)
protected abstract AbstractConcurrentMap.Entry<K,V> createEntry(K key, int hash, V value)