Class AbstractLatch.CountSync
java.lang.Object
java.util.concurrent.locks.AbstractOwnableSynchronizer
java.util.concurrent.locks.AbstractQueuedSynchronizer
org.apache.activemq.artemis.utils.AbstractLatch.CountSync
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractLatch
Look at the doc and examples provided by AbstractQueuedSynchronizer for more information
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer
AbstractQueuedSynchronizer.ConditionObject -
Method Summary
Modifier and TypeMethodDescriptionvoidadd()intgetCount()voidsetCount(int count) inttryAcquireShared(int numberOfAqcquires) booleantryReleaseShared(int numberOfReleases) 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, tryAcquire, tryAcquireNanos, tryAcquireSharedNanos, tryReleaseMethods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizer
getExclusiveOwnerThread, setExclusiveOwnerThread
-
Method Details
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
add
public void add()
-