API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent.locks. Condition View Source
Author(s)
Doug Lea
Since
1.5
Version
Serial
Hierarchy
 Condition
Subinterfaces
Description
public interface Condition
  Condition factors out the Object monitor methods (wait, notify and notifyAll) into distinct objects to give the effect of having multiple wait-sets per object, by combining them with the use of arbitrary Lock implementations.
See also:   
Methods
Hide/Show inherited methods
public void await () throws InterruptedException
  Causes the current thread to wait until it is signalled or interrupted.
public boolean await (long time, TimeUnit unit) throws InterruptedException
  Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
public long awaitNanos (long nanosTimeout) throws InterruptedException
  Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses.
public void awaitUninterruptibly ()
  Causes the current thread to wait until it is signalled.
public boolean awaitUntil (Date deadline) throws InterruptedException
  Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses.
public void signal ()
  Wakes up one waiting thread.
public void signalAll ()
  Wakes up all waiting threads.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar