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 |
---|---|
Repeat<T> |
DefaultRepeat.backoff(Backoff backoff) |
Retry<T> |
DefaultRetry.backoff(Backoff backoff)
Deprecated.
|
Repeat<T> |
Repeat.backoff(Backoff backoff)
Returns a repeat function with backoff delay.
|
Retry<T> |
Retry.backoff(Backoff backoff)
Deprecated.
Returns a retry function with backoff delay.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.