Package io.github.resilience4j.retry
Class Retry.AsyncRetryBlock<T>
java.lang.Object
io.github.resilience4j.retry.Retry.AsyncRetryBlock<T>
- All Implemented Interfaces:
Runnable
- Enclosing interface:
- Retry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CompletableFuture<T>private final Retry.AsyncContext<T>private final ScheduledExecutorServiceprivate final Supplier<CompletionStage<T>> -
Constructor Summary
ConstructorsConstructorDescriptionAsyncRetryBlock(ScheduledExecutorService scheduler, Retry.AsyncContext<T> retryContext, Supplier<CompletionStage<T>> supplier, CompletableFuture<T> promise) -
Method Summary
-
Field Details
-
scheduler
-
retryContext
-
supplier
-
promise
-
-
Constructor Details
-
AsyncRetryBlock
AsyncRetryBlock(ScheduledExecutorService scheduler, Retry.AsyncContext<T> retryContext, Supplier<CompletionStage<T>> supplier, CompletableFuture<T> promise)
-
-
Method Details