|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.concurrent.locks.AbstractOwnableSynchronizer
java.util.concurrent.locks.AbstractQueuedSynchronizer
com.sun.enterprise.server.logging.BooleanLatch
public class BooleanLatch
Acts like a CountDownLatch except that it only requires a single signal to fire. Because a latch is non-exclusive, it uses the shared acquire and release methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer |
|---|
java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject |
| Constructor Summary | |
|---|---|
BooleanLatch()
|
|
| Method Summary | |
|---|---|
boolean |
isSignalled()
|
int |
tryAcquireShared(int ignore)
|
boolean |
tryReleaseShared(int ignore)
|
| Methods inherited from class java.util.concurrent.locks.AbstractQueuedSynchronizer |
|---|
acquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedThreads, hasWaiters, isHeldExclusively, isQueued, owns, release, releaseShared, setState, toString, tryAcquire, tryAcquireNanos, tryAcquireSharedNanos, tryRelease |
| Methods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizer |
|---|
getExclusiveOwnerThread, setExclusiveOwnerThread |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanLatch()
| Method Detail |
|---|
public boolean isSignalled()
public int tryAcquireShared(int ignore)
tryAcquireShared in class java.util.concurrent.locks.AbstractQueuedSynchronizerpublic boolean tryReleaseShared(int ignore)
tryReleaseShared in class java.util.concurrent.locks.AbstractQueuedSynchronizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||