Class CompletionState


  • public class CompletionState
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CompletionState()  
    • Method Summary

      Modifier and Type Method Description
      void awaitCompletion()  
      boolean awaitCompletion​(long timeout, java.util.concurrent.TimeUnit unit)  
      void complete()  
      boolean isComplete()  
      • Methods inherited from class java.lang.Object

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

      • CompletionState

        public CompletionState()
    • Method Detail

      • complete

        public void complete()
      • isComplete

        public boolean isComplete()
      • awaitCompletion

        public void awaitCompletion()
                             throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • awaitCompletion

        public boolean awaitCompletion​(long timeout,
                                       java.util.concurrent.TimeUnit unit)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException