V1
- the type returned by the first futureV2
- the type returned by the second futureV3
- the type returned by the third futureV4
- the type returned by the fourth futureU
- the type returned by the function@FunctionalInterface public static interface ClosingFuture.Combiner4.ClosingFunction4<V1,V2,V3,V4,U>
ClosingFuture.whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture)
.Modifier and Type | Method and Description |
---|---|
U |
apply(ClosingFuture.DeferredCloser closer,
V1 value1,
V2 value2,
V3 value3,
V4 value4)
Applies this function to four inputs, or throws an exception if unable to do so.
|
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 ClosingFuture
pipeline
is done (but not before this method completes), even if this method throws or the pipeline
is cancelled.
Exception
Copyright © 2010–2021. All rights reserved.