Package org.apache.flink.util.concurrent
-
Interface Summary Interface Description FutureConsumerWithException<T,E extends Throwable> A checked extension of theConsumerinterface which rethrows exceptions wrapped in aCompletionException.RetryStrategy Interface that encapsulates retry logic.ScheduledExecutor Extension for theExecutorinterface which is enriched by method for scheduling tasks in the future. -
Class Summary Class Description Executors Collection ofExecutorandExecutorServiceimplementations.ExecutorThreadFactory A thread factory intended for use by critical thread pools.ExecutorThreadFactory.Builder Builder forExecutorThreadFactory.ExponentialBackoffRetryStrategy An implementation ofRetryStrategythat retries that has an exponential backoff with a cap.FixedRetryStrategy An implementation ofRetryStrategythat retries at a fixed delay.FutureUtils A collection of utilities that expand the usage ofCompletableFuture.FutureUtils.ConjunctFuture<T> A future that is complete once multiple other futures completed.IgnoreShutdownRejectedExecutionHandler Rejected executions are ignored or logged in debug if the executor isshutdown.NeverCompleteFuture A future that never completes.ScheduledExecutorServiceAdapter Adapter class for aScheduledExecutorServicewhich shall be used as aScheduledExecutor.SeparateThreadExecutor AnExecutorthat runs every runnable in a separate thread.ThreadUtils ThreadUtilscollects helper methods in the context of threading. -
Exception Summary Exception Description FutureUtils.RetryException Exception with which the returned future is completed if theFutureUtils.retry(Supplier, int, Executor)operation fails.