Package | Description |
---|---|
org.corfudb.util.retry |
Modifier and Type | Class and Description |
---|---|
class |
ExponentialBackoffRetry<E extends Exception,F extends Exception,G extends Exception,H extends Exception,O,A extends IRetry>
This class implements a basic exponential backoff retry.
|
interface |
IRetry<E extends Exception,F extends Exception,G extends Exception,H extends Exception,O,A extends IRetry>
The IRetry interface is used to support retry loops by using different strategies
for the pause between the retries.
|
Modifier and Type | Class and Description |
---|---|
class |
ExponentialBackoffRetry<E extends Exception,F extends Exception,G extends Exception,H extends Exception,O,A extends IRetry>
This class implements a basic exponential backoff retry.
|
class |
IntervalRetry<E extends Exception,F extends Exception,G extends Exception,H extends Exception,O>
This class implements a basic interval-based retry.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Exception,U extends Exception,V extends Exception,W extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
Class<? extends V> thirdExceptionType,
Class<? extends W> fourthExceptionType,
IRetryable<T,U,V,W,R> runFunction) |
static <T extends Exception,U extends Exception,V extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
Class<? extends V> thirdExceptionType,
IRetryable<T,U,V,RuntimeException,R> runFunction) |
static <T extends Exception,U extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
IRetryable<T,U,RuntimeException,RuntimeException,R> runFunction) |
static <T extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
IRetryable<T,RuntimeException,RuntimeException,RuntimeException,R> runFunction) |
static <R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
IRetryable<RuntimeException,RuntimeException,RuntimeException,RuntimeException,R> runFunction) |
Modifier and Type | Method and Description |
---|---|
static <T extends Exception,U extends Exception,V extends Exception,W extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
Class<? extends V> thirdExceptionType,
Class<? extends W> fourthExceptionType,
IRetryable<T,U,V,W,R> runFunction) |
static <T extends Exception,U extends Exception,V extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
Class<? extends V> thirdExceptionType,
IRetryable<T,U,V,RuntimeException,R> runFunction) |
static <T extends Exception,U extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
Class<? extends U> secondExceptionType,
IRetryable<T,U,RuntimeException,RuntimeException,R> runFunction) |
static <T extends Exception,R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
Class<? extends T> firstExceptionType,
IRetryable<T,RuntimeException,RuntimeException,RuntimeException,R> runFunction) |
static <R,Z extends IRetry> |
IRetry.build(Class<Z> retryType,
IRetryable<RuntimeException,RuntimeException,RuntimeException,RuntimeException,R> runFunction) |
default IRetry<E,F,G,H,O,A> |
IRetry.setOptions(Consumer<A> settingsFunction)
Configure settings for the underlying class.
|
Copyright © 2019 CorfuDB. All rights reserved.