Uses of Class
com.google.common.util.concurrent.ClosingFuture.Combiner
-
Uses of ClosingFuture.Combiner in com.google.common.util.concurrent
Modifier and TypeClassDescriptionstatic final class
ClosingFuture.Combiner2<V1 extends @Nullable Object,
V2 extends @Nullable Object> A genericClosingFuture.Combiner
that lets you use a lambda or method reference to combine twoClosingFuture
s.static final class
ClosingFuture.Combiner3<V1 extends @Nullable Object,
V2 extends @Nullable Object, V3 extends @Nullable Object> A genericClosingFuture.Combiner
that lets you use a lambda or method reference to combine threeClosingFuture
s.static final class
ClosingFuture.Combiner4<V1 extends @Nullable Object,
V2 extends @Nullable Object, V3 extends @Nullable Object, V4 extends @Nullable Object> A genericClosingFuture.Combiner
that lets you use a lambda or method reference to combine fourClosingFuture
s.static final class
ClosingFuture.Combiner5<V1 extends @Nullable Object,
V2 extends @Nullable Object, V3 extends @Nullable Object, V4 extends @Nullable Object, V5 extends @Nullable Object> A genericClosingFuture.Combiner
that lets you use a lambda or method reference to combine fiveClosingFuture
s.Modifier and TypeMethodDescriptionstatic ClosingFuture.Combiner
ClosingFuture.whenAllComplete
(ClosingFuture<?> future1, ClosingFuture<?>... moreFutures) Starts specifying how to combineClosingFuture
s into a single pipeline.static ClosingFuture.Combiner
ClosingFuture.whenAllComplete
(Iterable<? extends ClosingFuture<?>> futures) Starts specifying how to combineClosingFuture
s into a single pipeline.static ClosingFuture.Combiner
ClosingFuture.whenAllSucceed
(ClosingFuture<?> future1, ClosingFuture<?> future2, ClosingFuture<?> future3, ClosingFuture<?> future4, ClosingFuture<?> future5, ClosingFuture<?> future6, ClosingFuture<?>... moreFutures) Starts specifying how to combineClosingFuture
s into a single pipeline, assuming they all succeed.static ClosingFuture.Combiner
ClosingFuture.whenAllSucceed
(Iterable<? extends ClosingFuture<?>> futures) Starts specifying how to combineClosingFuture
s into a single pipeline, assuming they all succeed.