Class CountingReadWriteLock.Sync
java.lang.Object
java.util.concurrent.locks.AbstractOwnableSynchronizer
java.util.concurrent.locks.AbstractQueuedSynchronizer
VASSAL.tools.concurrent.CountingReadWriteLock.Sync
- All Implemented Interfaces:
Serializable
- Enclosing class:
CountingReadWriteLock
- Since:
- 3.2.0
- Author:
- Joel Uckelman
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer
AbstractQueuedSynchronizer.ConditionObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
tryAcquire
(int dummy) protected int
tryAcquireShared
(int dummy) protected boolean
tryRelease
(int dummy) protected boolean
tryReleaseShared
(int dummy) Methods inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer
acquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isHeldExclusively, isQueued, owns, release, releaseShared, setState, toString, tryAcquireNanos, tryAcquireSharedNanos
Methods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizer
getExclusiveOwnerThread, setExclusiveOwnerThread
-
Constructor Details
-
Sync
protected Sync()
-
-
Method Details
-
tryAcquire
protected boolean tryAcquire(int dummy) - Overrides:
tryAcquire
in classAbstractQueuedSynchronizer
-
tryRelease
protected boolean tryRelease(int dummy) - Overrides:
tryRelease
in classAbstractQueuedSynchronizer
-