Class ClosingFuture.ValueAndCloser<V extends @Nullable Object>

    • Method Detail

      • closeAsync

        public void closeAsync()
        Starts closing all closeable objects captured during the ClosingFuture's asynchronous operation on the Executors specified by calls to DeferredCloser#eventuallyClose(Closeable, Executor).

        If any such calls specified MoreExecutors.directExecutor(), those objects will be closed synchronously.

        Idempotent: objects will be closed at most once.