private static final class VariableLatch.Sync extends AbstractQueuedSynchronizer
AbstractQueuedSynchronizer.ConditionObject| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
Sync(int count) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
getCount() |
protected int |
tryAcquireShared(int acquires) |
protected boolean |
tryReleaseShared(int releases) |
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, tryReleasegetExclusiveOwnerThread, setExclusiveOwnerThreadprivate static final long serialVersionUID
int getCount()
protected int tryAcquireShared(int acquires)
tryAcquireShared in class AbstractQueuedSynchronizerprotected boolean tryReleaseShared(int releases)
tryReleaseShared in class AbstractQueuedSynchronizerCopyright © 2019 JBoss by Red Hat. All rights reserved.