Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- com.helixframework.retry - package com.helixframework.retry
D
- DEFAULT_DELAY - Static variable in class com.helixframework.retry.FixedRetry
-
Default delay between retry attempts.
- DEFAULT_INITIAL_BACKOFF - Static variable in class com.helixframework.retry.Retry
-
Default number of milliseconds to initially wait for the retry backoff.
- DEFAULT_INITIAL_DELAY - Static variable in class com.helixframework.retry.FixedRetry
-
Default initial delay before retry is attempted.
- DEFAULT_MAX_RETRIES - Static variable in class com.helixframework.retry.FixedRetry
-
Default number of retries attempted by this function before throwing
RetriesExhaustedException. - DEFAULT_MAX_RETRIES - Static variable in class com.helixframework.retry.Retry
-
Default number of retries attempted by this function before throwing
RetriesExhaustedException.
E
- execute() - Method in interface com.helixframework.retry.RetryableFunction
-
Executes the wrapped function.
- execute(RetryableFunction<T>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function.
- execute(RetryableFunction<T>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function with default maximum number of retries in the event of an exception.
- execute(RetryableFunction<T>, int) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a specified maximum number of retries.
- execute(RetryableFunction<T>, int) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function with the specified maximum number of retries in the event of an exception.
- execute(RetryableFunction<T>, int, Long) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function with the specified maximum number of retries, and an initial backoff, in the event of an exception.
- execute(RetryableFunction<T>, int, Long, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function, terminating immediately if one of the expected errors is encountered, otherwise the function will be retried up to the specified maximum number of retries.
- execute(RetryableFunction<T>, int, Long, Supplier<T>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function.
- execute(RetryableFunction<T>, int, Long, Supplier<T>, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.Retry
-
Executes the provided RetryableFunction with the given parameters.
- execute(RetryableFunction<T>, int, Duration) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a specified maximum number of retries and delay duration.
- execute(RetryableFunction<T>, int, Duration, Duration) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a specified maximum number of retries, delay, and initial delay.
- execute(RetryableFunction<T>, int, Duration, Duration, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with the specified parameters.
- execute(RetryableFunction<T>, int, Duration, Duration, Supplier<T>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a function with retry logic to handle expected errors.
- execute(RetryableFunction<T>, int, Duration, Duration, Supplier<T>, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a function with retry logic to handle expected errors.
- execute(RetryableFunction<T>, int, Duration, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a specified maximum number of retries, delay, and expected errors that will not trigger a retry.
- execute(RetryableFunction<T>, int, Duration, Supplier<T>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a function with retry logic to handle expected errors.
- execute(RetryableFunction<T>, int, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a specified maximum number of retries, delay, initial delay, and expected errors that will not trigger a retry.
- execute(RetryableFunction<T>, int, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function, terminating immediately if one of the expected errors is encountered, otherwise the function will be retried up to the specified maximum number of retries.
- execute(RetryableFunction<T>, int, Supplier<T>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a function with retry logic to handle expected errors.
- execute(RetryableFunction<T>, int, Supplier<T>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function.
- execute(RetryableFunction<T>, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a retryable function with a collection of expected errors that will not trigger a retry.
- execute(RetryableFunction<T>, Collection<Class<? extends Throwable>>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function, terminating immediately if one of the expected errors is encountered.
- execute(RetryableFunction<T>, Supplier<T>) - Static method in class com.helixframework.retry.FixedRetry
-
Executes a function with retry logic to handle expected errors.
- execute(RetryableFunction<T>, Supplier<T>) - Static method in class com.helixframework.retry.Retry
-
Executes the wrapped function.
F
- FixedRetry - Class in com.helixframework.retry
-
Wrapper function that retries with fixed delay in the event of an exception.
R
- RetriesExhaustedException - Exception in com.helixframework.retry
-
Exception thrown when the maximum number of retries is exhausted.
- RetriesExhaustedException() - Constructor for exception com.helixframework.retry.RetriesExhaustedException
-
Exception thrown when the maximum number of retries is exhausted.
- RetriesExhaustedException(String) - Constructor for exception com.helixframework.retry.RetriesExhaustedException
-
Exception thrown when the maximum number of retries is exhausted.
- RetriesExhaustedException(String, Throwable) - Constructor for exception com.helixframework.retry.RetriesExhaustedException
-
Exception thrown when the maximum number of retries is exhausted.
- Retry - Class in com.helixframework.retry
-
Wrapper function that retries, with exponential backoff and jitter, in the event of an exception.
- RetryableFunction<T> - Interface in com.helixframework.retry
-
Function that should be retried in the event of an exception.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form