Class ClosingFuture.ValueAndCloser<V extends @Nullable java.lang.Object>

    • Method Detail

      • get

        public V get()
              throws java.util.concurrent.ExecutionException
        Returns the final value of the associated ClosingFuture, or throws an exception as Future.get() would.

        Because the asynchronous operation has already completed, this method is synchronous and returns immediately.

        java.util.concurrent.CancellationException - if the computation was cancelled
        java.util.concurrent.ExecutionException - if the computation threw an exception