static <T> Optional<T> |
SimpleRetries.tryGetObject(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
Class<T> type,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|
static <T> Optional<T> |
SimpleRetries.tryGetObject(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
String type,
org.slf4j.event.Level level,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|
static <T> Optional<T> |
SimpleRetries.tryGetObject(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|
static <T> RetryResult<T> |
SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
Class<T> type,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|
static <T> RetryResult<T> |
SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
String type,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|
static <T> RetryResult<T> |
SimpleRetries.tryGetObjectCollectingErrors(int maxAttempts,
long retryDelay,
TimeUnit retryDelayUnit,
KiwiEnvironment environment,
String type,
org.slf4j.event.Level level,
Supplier<T> supplier) |
Try to get an object, making up to maxAttempts attempts.
|