V- the type of the result
@FunctionalInterface public static interface ClosingFuture.AsyncClosingCallable<V>
ClosingFutureof a result.
ClosingFuture<V> call(ClosingFuture.DeferredCloser closer) throws Exception
Any objects that are passed to
closer.eventuallyClose() will be closed when the
ClosingFuture pipeline is done (but
not before this method completes), even if this method throws or the pipeline is cancelled.
Copyright © 2010–2020. All rights reserved.