V1- the type returned by the first future
V2- the type returned by the second future
V3- the type returned by the third future
V4- the type returned by the fourth future
U- the type returned by the function
@FunctionalInterface public static interface ClosingFuture.Combiner4.AsyncClosingFunction4<V1,V2,V3,V4,U>
ClosingFuturewhen applied to the values of the four futures passed to
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture).
ClosingFuture<U> apply(ClosingFuture.DeferredCloser closer, V1 value1, V2 value2, V3 value3, V4 value4) throws Exception
Any objects that are passed to
closer.eventuallyClose() will be closed when the
is done (but not before this method completes), even if this method throws or the pipeline
Copyright © 2010–2021. All rights reserved.