| Interface | Description |
|---|---|
| ComponentMainThreadExecutor |
Interface for an executor that runs tasks in the main thread of an
RpcEndpoint. |
| RetryStrategy |
Interface that encapsulates retry logic.
|
| ScheduledExecutor |
Extension for the
Executor interface which is enriched by method for scheduling tasks in
the future. |
| Class | Description |
|---|---|
| ComponentMainThreadExecutor.DummyComponentMainThreadExecutor |
Dummy implementation of ComponentMainThreadExecutor.
|
| Executors | |
| ExponentialBackoffRetryStrategy |
An implementation of
RetryStrategy that retries that has an exponential backoff with a
cap. |
| FixedRetryStrategy |
An implementation of
RetryStrategy that retries at a fixed delay. |
| FutureTaskWithException<V> |
FutureTask that also implements RunnableWithException. |
| FutureUtils |
A collection of utilities that expand the usage of
CompletableFuture. |
| FutureUtils.ConjunctFuture<T> |
A future that is complete once multiple other futures completed.
|
| ScheduledExecutorServiceAdapter |
Adapter class for a
ScheduledExecutorService which shall be used as a ScheduledExecutor. |
| ScheduledFutureAdapter<V> |
Adapter from
Future to ScheduledFuture. |
| Enum | Description |
|---|---|
| UnsupportedOperationExecutor |
Executor implementation which fails when UnsupportedOperationExecutor.execute(Runnable) is called. |
| Exception | Description |
|---|---|
| FutureUtils.RetryException |
Exception with which the returned future is completed if the
FutureUtils.retry(Supplier, int,
Executor) operation fails. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.