Uses of Class
codes.grow.packages.loki.core.RetryPolicy.Builder
Packages that use RetryPolicy.Builder
-
Uses of RetryPolicy.Builder in codes.grow.packages.loki.core
Methods in codes.grow.packages.loki.core that return RetryPolicy.BuilderModifier and TypeMethodDescriptionstatic RetryPolicy.BuilderRetryPolicy.builder()Starts a builder with the defaults.RetryPolicy.Builder.initialBackoff(Duration initialBackoff) Sets the backoff cap of the first retry.RetryPolicy.Builder.maxBackoff(Duration maxBackoff) Sets the upper bound of every backoff.RetryPolicy.Builder.maxRetries(int maxRetries) Sets the maximum number of retries.RetryPolicy.Builder.maxRetryAfter(Duration maxRetryAfter) Sets the longest acceptedRetry-After.RetryPolicy.Builder.multiplier(double multiplier) Sets the exponential growth factor.RetryPolicy.Builder.random(RandomGenerator random) Injects the random source used for jitter (tests).RetryPolicy.toBuilder()Returns a builder initialised from this policy.