Uses of Class
com.shri.restinpeace.RetryConfig.Builder
Packages that use RetryConfig.Builder
-
Uses of RetryConfig.Builder in com.shri.restinpeace
Methods in com.shri.restinpeace that return RetryConfig.BuilderModifier and TypeMethodDescriptionRetryConfig.Builder.backoffMultiplier(double backoffMultiplier) Sets the factor the delay is multiplied by after each retry.static RetryConfig.BuilderRetryConfig.builder()Starts building a new retry config, defaulting to the exact same values@Retry's own annotation defaults use.RetryConfig.Builder.delayMillis(long delayMillis) Sets how long to wait before the first retry.RetryConfig.Builder.idempotent(boolean idempotent) Sets whether to send a stableIdempotency-Key.RetryConfig.Builder.jitterFactor(double jitterFactor) Sets the jitter fraction applied to each computed delay.RetryConfig.Builder.retryOnStatus(int... retryOnStatus) Sets the HTTP status codes that count as a failure worth retrying.RetryConfig.Builder.times(int times) Sets the maximum number of attempts in total.