Uses of Class
com.couchbase.client.core.time.Delay
-
Packages that use Delay Package Description com.couchbase.client.core.env com.couchbase.client.core.message com.couchbase.client.core.message.observe com.couchbase.client.core.time -
-
Uses of Delay in com.couchbase.client.core.env
Fields in com.couchbase.client.core.env declared as Delay Modifier and Type Field Description static Delay
DefaultCoreEnvironment. OBSERVE_INTERVAL_DELAY
static Delay
DefaultCoreEnvironment. RECONNECT_DELAY
static Delay
DefaultCoreEnvironment. RETRY_DELAY
Methods in com.couchbase.client.core.env that return Delay Modifier and Type Method Description Delay
CoreEnvironment. observeIntervalDelay()
Delay
DefaultCoreEnvironment. observeIntervalDelay()
Delay
CoreEnvironment. reconnectDelay()
Returns theDelay
for node reconnects.Delay
DefaultCoreEnvironment. reconnectDelay()
Delay
CoreEnvironment. retryDelay()
Returns theDelay
for request retries.Delay
DefaultCoreEnvironment. retryDelay()
Methods in com.couchbase.client.core.env with parameters of type Delay Modifier and Type Method Description SELF
DefaultCoreEnvironment.Builder. observeIntervalDelay(Delay observeIntervalDelay)
SELF
DefaultCoreEnvironment.Builder. reconnectDelay(Delay reconnectDelay)
Sets theDelay
for node reconnects (default value is a delay growing exponentially between 32ms and 4096ms).SELF
DefaultCoreEnvironment.Builder. retryDelay(Delay retryDelay)
Sets theDelay
for retries of requests (default value is a delay growing exponentially between 100us and 100ms). -
Uses of Delay in com.couchbase.client.core.message
Methods in com.couchbase.client.core.message that return Delay Modifier and Type Method Description Delay
AbstractCouchbaseRequest. retryDelay()
Delay
CouchbaseRequest. retryDelay()
Returns the retry delay configMethods in com.couchbase.client.core.message with parameters of type Delay Modifier and Type Method Description void
AbstractCouchbaseRequest. retryDelay(Delay retryDelay)
void
CouchbaseRequest. retryDelay(Delay delay)
Sets the retry delay config -
Uses of Delay in com.couchbase.client.core.message.observe
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)
-
Uses of Delay in com.couchbase.client.core.time
Subclasses of Delay in com.couchbase.client.core.time Modifier and Type Class 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.Methods in com.couchbase.client.core.time that return Delay Modifier and Type Method Description static Delay
Delay. exponential(TimeUnit unit)
Creates a newExponentialDelay
with default boundaries and factor (1, 2, 4, 8, 16, 32...).static Delay
Delay. exponential(TimeUnit unit, long upper)
Creates a newExponentialDelay
with custom upper boundary and default factor (eg.static Delay
Delay. exponential(TimeUnit unit, long upper, long lower)
Creates a newExponentialDelay
with custom boundaries and default factor (eg.static Delay
Delay. exponential(TimeUnit unit, long upper, long lower, long growBy)
Creates a newExponentialDelay
with custom boundaries and factor (eg.static Delay
Delay. exponential(TimeUnit unit, long upper, long lower, long growBy, int powersOf)
Creates a newExponentialDelay
on a base different from powers of two, with custom boundaries and factor (eg.static Delay
Delay. fixed(long delay, TimeUnit unit)
Creates a newFixedDelay
.static Delay
Delay. linear(TimeUnit unit)
Creates a newLinearDelay
with no bounds and default factor.static Delay
Delay. linear(TimeUnit unit, long upper)
Creates a newLinearDelay
with a custom upper boundary and the default factor.static Delay
Delay. linear(TimeUnit unit, long upper, long lower)
Creates a newLinearDelay
with a custom boundaries and the default factor.static Delay
Delay. linear(TimeUnit unit, long upper, long lower, long growBy)
Creates a newLinearDelay
with a custom boundaries and factor.
-