T - The result typepublic abstract class AsyncRetryResultProcessor<T> extends Object implements RetryResultProcessor<T>
RetryResultProcessor.Result<T>| Constructor and Description |
|---|
AsyncRetryResultProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected T |
doNewAttempt(Supplier<RetryResultProcessor.Result<T>> supplier) |
protected T |
handleException(Supplier<RetryResultProcessor.Result<T>> supplier,
Consumer<Throwable> handler,
Throwable throwable,
ScheduledExecutorService reschedulingExecutor,
BackoffPeriodSupplier lastBackoffPeriodSupplier,
RetryContext ctx) |
protected abstract T |
scheduleNewAttemptAfterDelay(Supplier<RetryResultProcessor.Result<T>> supplier,
ScheduledExecutorService reschedulingExecutor,
long rescheduleAfterMillis,
RetryContext ctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessprotected T doNewAttempt(Supplier<RetryResultProcessor.Result<T>> supplier) throws Throwable
Throwableprotected abstract T scheduleNewAttemptAfterDelay(Supplier<RetryResultProcessor.Result<T>> supplier, ScheduledExecutorService reschedulingExecutor, long rescheduleAfterMillis, RetryContext ctx) throws Throwable
Throwableprotected T handleException(Supplier<RetryResultProcessor.Result<T>> supplier, Consumer<Throwable> handler, Throwable throwable, ScheduledExecutorService reschedulingExecutor, BackoffPeriodSupplier lastBackoffPeriodSupplier, RetryContext ctx)
Copyright © 2019 SpringSource. All rights reserved.