Class QueuedSemaphore.WaitQueue.WaitNode

  • Enclosing class:
    QueuedSemaphore.WaitQueue

    protected static class QueuedSemaphore.WaitQueue.WaitNode
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected WaitNode()  
    • Constructor Detail

      • WaitNode

        protected WaitNode()
    • Method Detail

      • signal

        protected boolean signal()
      • doTimedWait

        protected boolean doTimedWait​(QueuedSemaphore sem,
                                      long msecs)
                               throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • doWait

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