API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent.locks. AbstractQueuedSynchronizer.ConditionObject View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractQueuedSynchronizer.ConditionObject
Implements
 Condition
 Serializable
Subclasses
Description
public class AbstractQueuedSynchronizer.ConditionObject
  Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation.
See also:   
Constructors
public AbstractQueuedSynchronizer.ConditionObject ()
Creates a new ConditionObject instance.
Methods
Hide/Show inherited methods
publicfinal void await () throws InterruptedException [Specified in Condition]
  Implements interruptible condition wait.
publicfinal boolean await (long time, TimeUnit unit) throws InterruptedException [Specified in Condition]
  Implements timed condition wait.
publicfinal long awaitNanos (long nanosTimeout) throws InterruptedException [Specified in Condition]
  Implements timed condition wait.
publicfinal void awaitUninterruptibly () [Specified in Condition]
  Implements uninterruptible condition wait.
publicfinal boolean awaitUntil (Date deadline) throws InterruptedException [Specified in Condition]
  Implements absolute timed condition wait.
protectedfinal Collection<Thread> getWaitingThreads ()
  Returns a collection containing those threads that may be waiting on this Condition.
protectedfinal int getWaitQueueLength ()
  Returns an estimate of the number of threads waiting on this condition.
protectedfinal boolean hasWaiters ()
  Queries whether any threads are waiting on this condition.
pack-privatefinal boolean isOwnedBy (AbstractQueuedSynchronizer sync)
  Returns true if this condition was created by the given synchronization object.
publicfinal void signal () [Specified in Condition]
  Moves the longest-waiting thread, if one exists, from the wait queue for this condition to the wait queue for the owning lock.
publicfinal void signalAll () [Specified in Condition]
  Moves all threads from the wait queue for this condition to the wait queue for the owning lock.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar