| Package | Description |
|---|---|
| com.couchbase.client.core.retry | |
| com.couchbase.client.core.retry.reactor |
| Constructor and Description |
|---|
BestEffortRetryStrategy(Backoff backoff)
Creates a new
BestEffortRetryStrategy with aa custom Backoff. |
| Modifier and Type | Field and Description |
|---|---|
static Backoff |
Backoff.ZERO_BACKOFF |
| Modifier and Type | Method and Description |
|---|---|
static Backoff |
Backoff.exponential(Duration firstBackoff,
Duration maxBackoff,
int factor,
boolean basedOnPreviousValue)
Backoff function with exponential backoff delay.
|
static Backoff |
Backoff.fixed(Duration backoffInterval)
Backoff function with fixed backoff delay
|
static Backoff |
Backoff.zero()
Backoff function with no backoff delay
|
| Modifier and Type | Method and Description |
|---|---|
Retry<T> |
Retry.backoff(Backoff backoff)
Returns a retry function with backoff delay.
|
Retry<T> |
DefaultRetry.backoff(Backoff backoff) |
Repeat<T> |
Repeat.backoff(Backoff backoff)
Returns a repeat function with backoff delay.
|
Repeat<T> |
DefaultRepeat.backoff(Backoff backoff) |
Copyright © 2021 Couchbase, Inc.. All rights reserved.