org.compass.core.util.backport.java.util.concurrent.helpers
Class WaitQueue.WaitNode

java.lang.Object
  extended by org.compass.core.util.backport.java.util.concurrent.helpers.WaitQueue.WaitNode
Direct Known Subclasses:
Semaphore.FairSync.Node
Enclosing class:
WaitQueue

public static class WaitQueue.WaitNode
extends Object


Field Summary
(package private)  WaitQueue.WaitNode next
           
(package private)  Thread owner
           
(package private)  boolean waiting
           
 
Constructor Summary
WaitQueue.WaitNode()
           
 
Method Summary
 boolean doTimedWait(WaitQueue.QueuedSync sync, long nanos)
           
 void doWait(WaitQueue.QueuedSync sync)
           
 void doWaitUninterruptibly(WaitQueue.QueuedSync sync)
           
 Thread getOwner()
           
 boolean signal(WaitQueue.QueuedSync sync)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

waiting

boolean waiting

next

WaitQueue.WaitNode next

owner

final Thread owner
Constructor Detail

WaitQueue.WaitNode

public WaitQueue.WaitNode()
Method Detail

getOwner

public Thread getOwner()

signal

public boolean signal(WaitQueue.QueuedSync sync)

doTimedWait

public boolean doTimedWait(WaitQueue.QueuedSync sync,
                           long nanos)
                    throws InterruptedException
Throws:
InterruptedException

doWait

public void doWait(WaitQueue.QueuedSync sync)
            throws InterruptedException
Throws:
InterruptedException

doWaitUninterruptibly

public void doWaitUninterruptibly(WaitQueue.QueuedSync sync)


Copyright (c) 2004-2006 The Compass Project.