protected static class AbstractLatch.CountSync extends AbstractQueuedSynchronizer
AbstractQueuedSynchronizer
,
Serialized FormAbstractQueuedSynchronizer.ConditionObject
Modifier and Type | Method and Description |
---|---|
void |
add() |
int |
getCount() |
void |
setCount(int count) |
int |
tryAcquireShared(int numberOfAqcquires) |
boolean |
tryReleaseShared(int numberOfReleases) |
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, tryRelease
getExclusiveOwnerThread, setExclusiveOwnerThread
public int getCount()
public void setCount(int count)
public int tryAcquireShared(int numberOfAqcquires)
tryAcquireShared
in class AbstractQueuedSynchronizer
public void add()
public boolean tryReleaseShared(int numberOfReleases)
tryReleaseShared
in class AbstractQueuedSynchronizer
Copyright © 2021 JBoss by Red Hat. All rights reserved.