org.apache.openjpa.lib.util.concurrent
Class WaitQueue.WaitNode

java.lang.Object
  extended by org.apache.openjpa.lib.util.concurrent.WaitQueue.WaitNode
Enclosing class:
WaitQueue

public static class WaitQueue.WaitNode
extends Object


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
 

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 © 2006-2008 Apache Software Foundation. All Rights Reserved.