Package org.codehaus.groovy.util
Class AbstractConcurrentMap.Segment<K,V> 
java.lang.Object
java.util.concurrent.locks.AbstractOwnableSynchronizer
java.util.concurrent.locks.AbstractQueuedSynchronizer
org.codehaus.groovy.util.LockableObject
org.codehaus.groovy.util.AbstractConcurrentMapBase.Segment
org.codehaus.groovy.util.AbstractConcurrentMap.Segment<K,V> 
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ManagedConcurrentMap.Segment
- Enclosing class:
- AbstractConcurrentMap<K,V> 
public abstract static class AbstractConcurrentMap.Segment<K,V> 
extends AbstractConcurrentMapBase.Segment
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizerAbstractQueuedSynchronizer.ConditionObject
- 
Field SummaryFields inherited from class org.codehaus.groovy.util.AbstractConcurrentMapBase.Segmenttable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract AbstractConcurrentMap.Entry<K,V> createEntry(K key, int hash, V value) final Vfinal AbstractConcurrentMap.Entry<K,V> voidMethods inherited from class org.codehaus.groovy.util.LockableObjectisHeldExclusively, lock, tryAcquire, tryRelease, unlockMethods inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizeracquire, 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, tryReleaseSharedMethods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizergetExclusiveOwnerThread, setExclusiveOwnerThread
- 
Constructor Details- 
Segmentprotected Segment(int initialCapacity) 
 
- 
- 
Method Details- 
get
- 
getOrPut
- 
put
- 
remove
- 
createEntry
 
-