Package org.apache.pinot.spi.utils.retry
-
Interface Summary Interface Description RetryPolicy Retry policy, encapsulating the logic needed to retry an operation until it succeeds. -
Class Summary Class Description BaseRetryPolicy TheBaseRetryPolicyis the base class for all retry policies.ExponentialBackoffRetryPolicy Retry policy with exponential backoff delay between attempts.FixedDelayRetryPolicy Delay policy with fixed delay between attempts.NoDelayRetryPolicy Retry policy without delay between attempts.RandomDelayRetryPolicy Delay policy with random delay between attempts.RetryPolicies Factory for retry policies. -
Exception Summary Exception Description AttemptFailureException TheAttemptFailureExceptionindicates that theattempt(Callable)failed because of either operation throwing an exception or running out of attempts.AttemptsExceededException TheAttemptsExceededExceptionindicates that the operation did not succeed within maximum number of attempts.RetriableOperationException TheRetriableOperationExceptionindicates that the retriable operation threw an exception.