-
Methods in com.couchbase.client.core.env with parameters of type Delay
Modifier and Type |
Method |
Description |
SELF |
DefaultCoreEnvironment.Builder.observeIntervalDelay(Delay observeIntervalDelay) |
Sets the Delay for Observe poll operations (default value
is a delay growing exponentially between 10us and 100ms).
|
SELF |
DefaultCoreEnvironment.Builder.reconnectDelay(Delay reconnectDelay) |
Sets the Delay for node reconnects (default value is a delay growing exponentially
between 32ms and 4096ms).
|
SELF |
DefaultCoreEnvironment.Builder.retryDelay(Delay retryDelay) |
Sets the Delay for retries of requests (default value is a delay growing exponentially
between 100us and 100ms).
|
-
-
Methods in com.couchbase.client.core.message.observe with parameters of type Delay
Modifier and Type |
Method |
Description |
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
MutationToken token,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
|
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
MutationToken token,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy,
io.opentracing.Span parent) |
|
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy) |
|
static rx.Observable<Boolean> |
Observe.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy,
io.opentracing.Span parent) |
|
static rx.Observable<Boolean> |
ObserveViaCAS.call(ClusterFacade core,
String bucket,
String id,
long cas,
boolean remove,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy,
io.opentracing.Span parent) |
|
static rx.Observable<Boolean> |
ObserveViaMutationToken.call(ClusterFacade core,
String bucket,
String id,
MutationToken token,
Observe.PersistTo persistTo,
Observe.ReplicateTo replicateTo,
Delay delay,
RetryStrategy retryStrategy,
io.opentracing.Span parent,
long cas) |
|
-
Methods in com.couchbase.client.core.time that return Delay
Modifier and Type |
Method |
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) |
|
static Delay |
Delay.exponential(TimeUnit unit,
long upper,
long lower,
long growBy) |
|
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) |
|
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.
|