org.compass.core.util.backport.java.util.concurrent.helpers
Class WaitQueue.WaitNode
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
waiting
boolean waiting
next
WaitQueue.WaitNode next
owner
final Thread owner
WaitQueue.WaitNode
public WaitQueue.WaitNode()
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.