Skip navigation links
A B C D E F G I M N O R S T U V W 

A

afterFailedTryListener(RetryListener) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
ALREADY_SPECIFIED_NUMBER_OF_TRIES__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
AsyncCallExecutor<T> - Class in com.evanlennick.retry4j
Implementation that kicks off each retry request in its own separate thread that does not block the thread the execution is called from.
AttemptStatus<T> - Class in com.evanlennick.retry4j
 
AttemptStatus() - Constructor for class com.evanlennick.retry4j.AttemptStatus
 

B

BackoffStrategy - Interface in com.evanlennick.retry4j.backoff
 
beforeNextTryListener(RetryListener) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
build() - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
build() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
buildAsync() - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
buildAsync(ExecutorService) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 

C

CallExecutor<T> - Class in com.evanlennick.retry4j
Default implementation that does a single, synchronous retry in the same thread that it is called from.
CallExecutorBuilder<T> - Class in com.evanlennick.retry4j
 
CallExecutorBuilder() - Constructor for class com.evanlennick.retry4j.CallExecutorBuilder
 
CAN_ONLY_SPECIFY_CUSTOM_EXCEPTION_STRAT__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
CAN_ONLY_SPECIFY_ONE_BACKOFF_STRAT__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
CAN_ONLY_SPECIFY_ONE_EXCEPTION_STRAT__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
com.evanlennick.retry4j - package com.evanlennick.retry4j
 
com.evanlennick.retry4j.backoff - package com.evanlennick.retry4j.backoff
 
com.evanlennick.retry4j.config - package com.evanlennick.retry4j.config
 
com.evanlennick.retry4j.exception - package com.evanlennick.retry4j.exception
 
com.evanlennick.retry4j.listener - package com.evanlennick.retry4j.listener
 
config(RetryConfig) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 

D

DEFAULT_RETRY_CONFIG - Static variable in class com.evanlennick.retry4j.CallExecutorBuilder
 

E

execute(Callable<T>) - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
execute(Callable<T>, String) - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
execute(Callable<T>) - Method in class com.evanlennick.retry4j.CallExecutor
 
execute(Callable<T>, String) - Method in class com.evanlennick.retry4j.CallExecutor
 
execute(Callable<T>) - Method in interface com.evanlennick.retry4j.RetryExecutor
 
execute(Callable<T>, String) - Method in interface com.evanlennick.retry4j.RetryExecutor
 
exponentialBackoff5Tries5Sec() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
ExponentialBackoffStrategy - Class in com.evanlennick.retry4j.backoff
AKA binary exponential backoff
ExponentialBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.ExponentialBackoffStrategy
 

F

failOnAnyException() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
fiboBackoff7Tries5Sec() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
FibonacciBackoffStrategy - Class in com.evanlennick.retry4j.backoff
 
FibonacciBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.FibonacciBackoffStrategy
 
fixedBackoff5Tries10Sec() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
FixedBackoffStrategy - Class in com.evanlennick.retry4j.backoff
 
FixedBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.FixedBackoffStrategy
 

G

getAfterFailedTryListener() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getAfterFailedTryListener() - Method in class com.evanlennick.retry4j.CallExecutor
 
getBackoffStrategy() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getBeforeNextTryListener() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getBeforeNextTryListener() - Method in class com.evanlennick.retry4j.CallExecutor
 
getCallName() - Method in class com.evanlennick.retry4j.Status
 
getConfig() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getConfig() - Method in class com.evanlennick.retry4j.CallExecutor
 
getCustomRetryOnLogic() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getDelayBetweenRetries() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getDurationToWait(int, Duration) - Method in interface com.evanlennick.retry4j.backoff.BackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.ExponentialBackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.FibonacciBackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.FixedBackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.NoWaitBackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.RandomBackoffStrategy
 
getDurationToWait(int, Duration) - Method in class com.evanlennick.retry4j.backoff.RandomExponentialBackoffStrategy
 
getEndTime() - Method in class com.evanlennick.retry4j.Status
 
getExecutorService() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getFibonacciNumbers() - Method in class com.evanlennick.retry4j.backoff.FibonacciBackoffStrategy
 
getId() - Method in class com.evanlennick.retry4j.Status
 
getLastExceptionThatCausedRetry() - Method in class com.evanlennick.retry4j.Status
 
getMaxNumberOfTries() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getOnCompletionListener() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getOnCompletionListener() - Method in class com.evanlennick.retry4j.CallExecutor
 
getOnFailureListener() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getOnFailureListener() - Method in class com.evanlennick.retry4j.CallExecutor
 
getOnSuccessListener() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
getOnSuccessListener() - Method in class com.evanlennick.retry4j.CallExecutor
 
getResult() - Method in class com.evanlennick.retry4j.AttemptStatus
 
getRetryOnAnyExceptionExcluding() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getRetryOnSpecificExceptions() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
getStartTime() - Method in class com.evanlennick.retry4j.Status
 
getStatus() - Method in exception com.evanlennick.retry4j.exception.RetriesExhaustedException
 
getThreadExecutorService() - Method in class com.evanlennick.retry4j.AsyncCallExecutor
Deprecated.
getTotalElapsedDuration() - Method in class com.evanlennick.retry4j.Status
 
getTotalTries() - Method in class com.evanlennick.retry4j.Status
 
getValueToRetryOn() - Method in class com.evanlennick.retry4j.config.RetryConfig
 

I

InvalidRetryConfigException - Exception in com.evanlennick.retry4j.exception
 
InvalidRetryConfigException(String) - Constructor for exception com.evanlennick.retry4j.exception.InvalidRetryConfigException
 
isRetryOnAnyException() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
isValidationEnabled() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 

M

MAX_NUM_OF_FIB_NUMBERS - Static variable in class com.evanlennick.retry4j.backoff.FibonacciBackoffStrategy
 
MUST_SPECIFY_BACKOFF__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
MUST_SPECIFY_MAX_TRIES__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
MUST_SPECIFY_MAX_TRIES_ABOVE_0__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 

N

NoWaitBackoffStrategy - Class in com.evanlennick.retry4j.backoff
 
NoWaitBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.NoWaitBackoffStrategy
 

O

onCompletionListener(RetryListener) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
onEvent(Status<T>) - Method in interface com.evanlennick.retry4j.listener.RetryListener
 
onFailureListener(RetryListener) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 
onSuccessListener(RetryListener) - Method in class com.evanlennick.retry4j.CallExecutorBuilder
 

R

RandomBackoffStrategy - Class in com.evanlennick.retry4j.backoff
 
RandomBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.RandomBackoffStrategy
 
RandomBackoffStrategy(int) - Constructor for class com.evanlennick.retry4j.backoff.RandomBackoffStrategy
 
randomExpBackoff10Tries60Sec() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
RandomExponentialBackoffStrategy - Class in com.evanlennick.retry4j.backoff
 
RandomExponentialBackoffStrategy() - Constructor for class com.evanlennick.retry4j.backoff.RandomExponentialBackoffStrategy
 
RetriesExhaustedException - Exception in com.evanlennick.retry4j.exception
This exception represents a call execution that never succeeded after exhausting all retries.
RetriesExhaustedException(String, Throwable, Status) - Constructor for exception com.evanlennick.retry4j.exception.RetriesExhaustedException
 
Retry4jException - Exception in com.evanlennick.retry4j.exception
 
Retry4jException(String, Throwable) - Constructor for exception com.evanlennick.retry4j.exception.Retry4jException
 
Retry4jException(String) - Constructor for exception com.evanlennick.retry4j.exception.Retry4jException
 
RetryConfig - Class in com.evanlennick.retry4j.config
 
RetryConfigBuilder - Class in com.evanlennick.retry4j.config
 
RetryConfigBuilder() - Constructor for class com.evanlennick.retry4j.config.RetryConfigBuilder
 
RetryConfigBuilder(boolean) - Constructor for class com.evanlennick.retry4j.config.RetryConfigBuilder
 
RetryExecutor<T,S> - Interface in com.evanlennick.retry4j
 
retryIndefinitely() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
RetryListener<T> - Interface in com.evanlennick.retry4j.listener
 
retryOnAnyException() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
retryOnAnyExceptionExcluding(Class<? extends Exception>...) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
retryOnCausedBy() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
retryOnCustomExceptionLogic(Function<Exception, Boolean>) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
retryOnReturnValue(Object) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
retryOnSpecificExceptions(Class<? extends Exception>...) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 

S

setCallName(String) - Method in class com.evanlennick.retry4j.Status
 
setEndTime(long) - Method in class com.evanlennick.retry4j.Status
 
setExecutorService(ExecutorService) - Method in class com.evanlennick.retry4j.AsyncCallExecutor
 
setId(String) - Method in class com.evanlennick.retry4j.Status
 
setLastExceptionThatCausedRetry(Exception) - Method in class com.evanlennick.retry4j.Status
 
setResult(T) - Method in class com.evanlennick.retry4j.AttemptStatus
 
setStartTime(long) - Method in class com.evanlennick.retry4j.Status
 
setSuccessful(boolean) - Method in class com.evanlennick.retry4j.AttemptStatus
 
setTotalElapsedDuration(Duration) - Method in class com.evanlennick.retry4j.Status
 
setTotalTries(int) - Method in class com.evanlennick.retry4j.Status
 
setValidationEnabled(boolean) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
SHOULD_SPECIFY_DELAY_BETWEEN_RETRIES_AS_POSTIVE__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
SHOULD_SPECIFY_RETRY_COUNT_AS_POSITIVE__ERROR_MSG - Static variable in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
shouldRetryOnCausedBy() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
shouldRetryOnValue() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
Status<T> - Class in com.evanlennick.retry4j
 
Status() - Constructor for class com.evanlennick.retry4j.Status
 

T

toString() - Method in class com.evanlennick.retry4j.CallExecutor
 
toString() - Method in class com.evanlennick.retry4j.config.RetryConfig
 
toString() - Method in class com.evanlennick.retry4j.Status
 

U

UnexpectedException - Exception in com.evanlennick.retry4j.exception
This exception represents when a call throws an exception that was not specified as one to retry on in the RetryConfig.
UnexpectedException(String, Throwable) - Constructor for exception com.evanlennick.retry4j.exception.UnexpectedException
 

V

validateConfig(RetryConfig) - Method in interface com.evanlennick.retry4j.backoff.BackoffStrategy
 
validateConfig(RetryConfig) - Method in class com.evanlennick.retry4j.backoff.ExponentialBackoffStrategy
 
validateConfig(RetryConfig) - Method in class com.evanlennick.retry4j.backoff.FibonacciBackoffStrategy
 
validateConfig(RetryConfig) - Method in class com.evanlennick.retry4j.backoff.FixedBackoffStrategy
 
validateConfig(RetryConfig) - Method in class com.evanlennick.retry4j.backoff.RandomBackoffStrategy
 
validateConfig(RetryConfig) - Method in class com.evanlennick.retry4j.backoff.RandomExponentialBackoffStrategy
 

W

wasSuccessful() - Method in class com.evanlennick.retry4j.AttemptStatus
 
withBackoffStrategy(BackoffStrategy) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withDelayBetweenTries(Duration) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withDelayBetweenTries(long, ChronoUnit) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withExponentialBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withFibonacciBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withFixedBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withMaxNumberOfTries(int) - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withNoWaitBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withRandomBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
withRandomExponentialBackoff() - Method in class com.evanlennick.retry4j.config.RetryConfigBuilder
 
A B C D E F G I M N O R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.