|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Condition | |
---|---|
org.apache.openjpa.lib.util.concurrent | Concurrent Utilities |
Uses of Condition in org.apache.openjpa.lib.util.concurrent |
---|
Methods in org.apache.openjpa.lib.util.concurrent that return Condition | |
---|---|
Condition |
ReentrantLock.newCondition()
Returns a Condition instance for use with this
Lock instance. |
Condition |
Lock.newCondition()
Returns a new Condition instance that is bound to this
Lock instance. |
Methods in org.apache.openjpa.lib.util.concurrent with parameters of type Condition | |
---|---|
static long |
Utils.awaitNanos(Condition cond,
long nanosTimeout)
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses. |
protected Collection |
ReentrantLock.getWaitingThreads(Condition condition)
Returns a collection containing those threads that may be waiting on the given condition associated with this lock. |
int |
ReentrantLock.getWaitQueueLength(Condition condition)
Returns an estimate of the number of threads waiting on the given condition associated with this lock. |
boolean |
ReentrantLock.hasWaiters(Condition condition)
Queries whether any threads are waiting on the given condition associated with this lock. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |