Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ematgine.utils.concurrent
Class QueuedSemaphore.WaitQueue.WaitNode  view QueuedSemaphore.WaitQueue.WaitNode download QueuedSemaphore.WaitQueue.WaitNode.java

java.lang.Object
  extended byorg.ematgine.utils.concurrent.QueuedSemaphore.WaitQueue.WaitNode
Enclosing class:
QueuedSemaphore.WaitQueue

protected static class QueuedSemaphore.WaitQueue.WaitNode
extends java.lang.Object


Field Summary
(package private)  QueuedSemaphore.WaitQueue.WaitNode next
           
(package private)  boolean waiting
           
 
Constructor Summary
protected QueuedSemaphore.WaitQueue.WaitNode()
           
 
Method Summary
protected  boolean doTimedWait(QueuedSemaphore sem, long msecs)
           
protected  void doWait(QueuedSemaphore sem)
           
protected  boolean signal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

waiting

boolean waiting

next

QueuedSemaphore.WaitQueue.WaitNode next
Constructor Detail

QueuedSemaphore.WaitQueue.WaitNode

protected QueuedSemaphore.WaitQueue.WaitNode()
Method Detail

signal

protected boolean signal()

doTimedWait

protected boolean doTimedWait(QueuedSemaphore sem,
                              long msecs)
                       throws java.lang.InterruptedException

doWait

protected void doWait(QueuedSemaphore sem)
               throws java.lang.InterruptedException