public class AsyncUtils extends Object
| Constructor and Description |
|---|
AsyncUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R,C extends CompletableFuture<R>,E extends Exception> |
parallelAsync(List<T> elements,
org.apache.flink.util.function.FunctionWithException<T,C,E> asyncInvoker,
org.apache.flink.util.function.BiConsumerWithException<T,R,E> consumer,
Class<E> exceptionClass) |
static <T,R,C extends CompletableFuture<R>,E extends Exception> |
parallelAsync(List<T> elements,
org.apache.flink.util.function.FunctionWithException<T,C,E> asyncInvoker,
BiPredicate<T,E> swallowException,
org.apache.flink.util.function.BiConsumerWithException<T,R,E> consumer,
Class<E> exceptionClass) |
public static <T,R,C extends CompletableFuture<R>,E extends Exception> void parallelAsync(List<T> elements, org.apache.flink.util.function.FunctionWithException<T,C,E> asyncInvoker, org.apache.flink.util.function.BiConsumerWithException<T,R,E> consumer, Class<E> exceptionClass) throws E extends Exception, InterruptedException, TimeoutException
E extends ExceptionInterruptedExceptionTimeoutExceptionpublic static <T,R,C extends CompletableFuture<R>,E extends Exception> void parallelAsync(List<T> elements, org.apache.flink.util.function.FunctionWithException<T,C,E> asyncInvoker, BiPredicate<T,E> swallowException, org.apache.flink.util.function.BiConsumerWithException<T,R,E> consumer, Class<E> exceptionClass) throws E extends Exception, InterruptedException, TimeoutException
E extends ExceptionInterruptedExceptionTimeoutExceptionCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.