Class ConditionSynchronizer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static co.paralleluniverse.common.monitoring.FlightRecorder RECORDER  
    • Constructor Summary

      Constructors 
      Constructor Description
      ConditionSynchronizer​(java.lang.Object owner)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void await​(int iter)  
      void await​(int iter, long timeout, java.util.concurrent.TimeUnit unit)  
      void awaitNanos​(int iter, long timeoutNanos)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RECORDER

        public static final co.paralleluniverse.common.monitoring.FlightRecorder RECORDER
    • Constructor Detail

      • ConditionSynchronizer

        public ConditionSynchronizer​(java.lang.Object owner)
    • Method Detail

      • awaitNanos

        public void awaitNanos​(int iter,
                               long timeoutNanos)
                        throws java.lang.InterruptedException,
                               SuspendExecution
        Throws:
        java.lang.InterruptedException
        SuspendExecution
      • await

        public void await​(int iter,
                          long timeout,
                          java.util.concurrent.TimeUnit unit)
                   throws java.lang.InterruptedException,
                          SuspendExecution
        Specified by:
        await in interface Condition
        Throws:
        java.lang.InterruptedException
        SuspendExecution