Interface Joinable<V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V get()  
      V get​(long timeout, java.util.concurrent.TimeUnit unit)  
      boolean isDone()  
      void join()  
      void join​(long timeout, java.util.concurrent.TimeUnit unit)  
    • Method Detail

      • join

        @Suspendable
        void join()
           throws java.util.concurrent.ExecutionException,
                  java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • join

        @Suspendable
        void join​(long timeout,
                  java.util.concurrent.TimeUnit unit)
           throws java.util.concurrent.ExecutionException,
                  java.lang.InterruptedException,
                  java.util.concurrent.TimeoutException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
        java.util.concurrent.TimeoutException
      • get

        @Suspendable
        V get()
        throws java.util.concurrent.ExecutionException,
              java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • get

        @Suspendable
        V get​(long timeout,
              java.util.concurrent.TimeUnit unit)
        throws java.util.concurrent.ExecutionException,
              java.lang.InterruptedException,
              java.util.concurrent.TimeoutException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
        java.util.concurrent.TimeoutException
      • isDone

        boolean isDone()