| Package | Description |
|---|---|
| com.couchbase.client.dcp | |
| com.couchbase.client.dcp.core.time | |
| com.couchbase.client.dcp.util |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.dcpChannelsReconnectDelay(Delay ignored)
Deprecated.
Doesn't do anything.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExponentialDelay
Delay which increases exponentially on every attempt.
|
class |
FixedDelay
Delay which is fixed for every attempt.
|
class |
LinearDelay
Delay which increases linearly for every attempt.
|
| Modifier and Type | Method and Description |
|---|---|
static Delay |
Delay.exponential(TimeUnit unit)
Creates a new
ExponentialDelay with default boundaries and factor (1, 2, 4, 8, 16, 32...). |
static Delay |
Delay.exponential(TimeUnit unit,
long upper)
Creates a new
ExponentialDelay with custom upper boundary and default factor (eg. |
static Delay |
Delay.exponential(TimeUnit unit,
long upper,
long lower)
Creates a new
ExponentialDelay with custom boundaries and default factor (eg. |
static Delay |
Delay.exponential(TimeUnit unit,
long upper,
long lower,
long growBy)
Creates a new
ExponentialDelay with custom boundaries and factor (eg. |
static Delay |
Delay.exponential(TimeUnit unit,
long upper,
long lower,
long growBy,
int powersOf)
Creates a new
ExponentialDelay on a base different from powers of two, with custom boundaries and factor
(eg. |
static Delay |
Delay.fixed(long delay,
TimeUnit unit)
Creates a new
FixedDelay. |
static Delay |
Delay.linear(TimeUnit unit)
Creates a new
LinearDelay with no bounds and default factor. |
static Delay |
Delay.linear(TimeUnit unit,
long upper)
Creates a new
LinearDelay with a custom upper boundary and the default factor. |
static Delay |
Delay.linear(TimeUnit unit,
long upper,
long lower)
Creates a new
LinearDelay with a custom boundaries and the default factor. |
static Delay |
Delay.linear(TimeUnit unit,
long upper,
long lower,
long growBy)
Creates a new
LinearDelay with a custom boundaries and factor. |
| Constructor and Description |
|---|
AdaptiveDelay(Delay backoffStrategy,
Duration cooldown) |
Copyright © 2021 Couchbase, Inc.. All rights reserved.