Uses of Interface
org.apache.openjpa.lib.util.concurrent.Condition

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 Lock.newCondition()
          Returns a new Condition instance that is bound to this Lock instance.
 Condition ReentrantLock.newCondition()
          Returns a Condition instance for use with 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.
 



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.