Uses of Interface
com.couchbase.client.core.retry.reactor.Jitter
-
Packages that use Jitter Package Description com.couchbase.client.core.retry.reactor -
-
Uses of Jitter in com.couchbase.client.core.retry.reactor
Fields in com.couchbase.client.core.retry.reactor declared as Jitter Modifier and Type Field Description static JitterJitter. NO_JITTERstatic JitterJitter. RANDOM_JITTERMethods in com.couchbase.client.core.retry.reactor that return Jitter Modifier and Type Method Description static JitterJitter. noJitter()Jitter function that is a no-op.static JitterJitter. 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 JitterJitter. 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 Jitter Modifier and Type Method Description Repeat<T>DefaultRepeat. jitter(Jitter jitter)Retry<T>DefaultRetry. jitter(Jitter jitter)Repeat<T>Repeat. jitter(Jitter jitter)Returns a repeat function that applies jitter to the backoff delay.Retry<T>Retry. jitter(Jitter jitter)Returns a retry function that applies jitter to the backoff delay.
-