Uses of Interface
com.pyranid.RetryPolicy.Backoff
-
Uses of RetryPolicy.Backoff in com.pyranid
Methods in com.pyranid that return RetryPolicy.BackoffModifier and TypeMethodDescriptionstatic @NonNull RetryPolicy.BackoffRetryPolicy.Backoff.exponential(@NonNull Duration initialDelay, @NonNull Duration maxDelay) Creates an exponential backoff.static @NonNull RetryPolicy.BackoffCreates a fixed backoff.@NonNull RetryPolicy.BackoffRetryPolicy.getBackoff()Gets the retry backoff.Methods in com.pyranid with parameters of type RetryPolicy.BackoffModifier and TypeMethodDescriptionstatic @NonNull RetryPolicyRetryPolicy.ofMaxAttempts(@NonNull Integer maxAttempts, @NonNull RetryPolicy.Backoff backoff, @NonNull RetryPolicy.Condition condition) Creates a retry policy.