public class GatewayRetrySpec extends Retry
Retry.RetrySignal| Modifier and Type | Field and Description |
|---|---|
static List<Integer> |
NON_RETRYABLE_STATUS_CODES |
| Modifier and Type | Method and Description |
|---|---|
static GatewayRetrySpec |
create(ReconnectOptions reconnectOptions,
ReconnectContext reconnectContext) |
GatewayRetrySpec |
doBeforeRetry(Consumer<GatewayRetrySignal> doBeforeRetry) |
Flux<Long> |
generateCompanion(Flux<Retry.RetrySignal> t) |
backoff, fixedDelay, from, indefinitely, max, maxInARowpublic static GatewayRetrySpec create(ReconnectOptions reconnectOptions, ReconnectContext reconnectContext)
public GatewayRetrySpec doBeforeRetry(Consumer<GatewayRetrySignal> doBeforeRetry)
public Flux<Long> generateCompanion(Flux<Retry.RetrySignal> t)
generateCompanion in class Retry