private static final class ResizeableCountDownLatch.Sync
extends java.util.concurrent.locks.AbstractQueuedSynchronizer
| Modifier and Type | Field and Description | 
|---|---|
private static long | 
serialVersionUID  | 
| Constructor and Description | 
|---|
ResizeableCountDownLatch.Sync(int count)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
decreaseCount()  | 
(package private) int | 
getCount()  | 
void | 
increaseCount()  | 
int | 
tryAcquireShared(int acquires)  | 
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, tryReleaseprivate static final long serialVersionUID
int getCount()
public int tryAcquireShared(int acquires)
tryAcquireShared in class java.util.concurrent.locks.AbstractQueuedSynchronizerpublic boolean tryReleaseShared(int releases)
tryReleaseShared in class java.util.concurrent.locks.AbstractQueuedSynchronizerpublic void increaseCount()
public void decreaseCount()