Uses of Interface
com.couchbase.client.core.retry.reactor.Jitter
Packages that use Jitter
-
Uses of Jitter in com.couchbase.client.core.retry.reactor
Fields in com.couchbase.client.core.retry.reactor declared as JitterModifier and TypeFieldDescriptionstatic final Jitter
Jitter.NO_JITTER
static final Jitter
Jitter.RANDOM_JITTER
Methods in com.couchbase.client.core.retry.reactor that return JitterModifier and TypeMethodDescriptionstatic Jitter
Jitter.noJitter()
Jitter function that is a no-op.static Jitter
Jitter.random()
Jitter function that applies a random jitter with a factor of 0.5, generating a backoff between[d - d*0.5; d + d*0.5]
(but still within the limits of [BackoffDelay.minDelay()
;BackoffDelay.maxDelay()
].static Jitter
Jitter.random
(double randomFactor) Jitter function that applies a random jitter with a provided [0; 1] factor (default 0.5), generating a backoff between[d - d*factor; d + d*factor]
(but still within the limits of [BackoffDelay.minDelay()
;BackoffDelay.maxDelay()
].Methods in com.couchbase.client.core.retry.reactor with parameters of type JitterModifier and TypeMethodDescriptionDeprecated.Returns a repeat function that applies jitter to the backoff delay.Deprecated.Returns a retry function that applies jitter to the backoff delay.