Uses of Interface
com.google.mu.util.concurrent.Fanout.Join2
Package
Description
Parallelizer (parallel stream using Executor), Retryer.
-
Uses of Fanout.Join2 in com.google.mu.util.concurrent
Modifier and TypeMethodDescriptionstatic <A,
B, R, X extends Throwable>
RFanout.concurrently
(Supplier<A> a, Supplier<B> b, Fanout.Join2<? super A, ? super B, R, X> join) Runsa
andb
concurrently in their own virtual threads.static <A,
B, R, X extends Throwable>
RFanout.uninterruptibly
(Supplier<A> a, Supplier<B> b, Fanout.Join2<? super A, ? super B, R, X> join) Runsa
andb
concurrently and uninterruptibly in their own virtual threads.