- EBCallback<Result,Error> - Interface in com.enigmabridge.retry
-
Simple callback interface for job to signalize its success or fail.
- EBFuture<Result,Error> - Interface in com.enigmabridge.retry
-
Future object, similar to
Future
Used in async job invocations.
- EBRetry<Result,Error> - Class in com.enigmabridge.retry
-
Very simple base retry implementation.
- EBRetry() - Constructor for class com.enigmabridge.retry.EBRetry
-
- EBRetry(EBRetryStrategy) - Constructor for class com.enigmabridge.retry.EBRetry
-
- EBRetry(int, EBRetryJob<Result, Error>) - Constructor for class com.enigmabridge.retry.EBRetry
-
- EBRetry(EBRetryStrategy, EBRetryJob<Result, Error>) - Constructor for class com.enigmabridge.retry.EBRetry
-
- EBRetry(EBRetryJob<Result, Error>) - Constructor for class com.enigmabridge.retry.EBRetry
-
- EBRetry.WaitThread - Class in com.enigmabridge.retry
-
Simple notify me in thread.
- EBRetryAbortedException - Exception in com.enigmabridge.retry
-
Retry exception - retry mechanism aborted, typically with fatal error.
- EBRetryAbortedException() - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(String) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(String, Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(String, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(String, Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryAbortedException(Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryAbortedException
-
- EBRetryCancelledException - Exception in com.enigmabridge.retry
-
Retry exception - retry mechanism was cancelled.
- EBRetryCancelledException() - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(String) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(String, Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(String, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(String, Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryCancelledException(Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryCancelledException
-
- EBRetryException - Exception in com.enigmabridge.retry
-
Root exception for all retry based exceptions.
- EBRetryException() - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(String) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(String, Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(String, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(String, Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryException(Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryException
-
- EBRetryFailedException - Exception in com.enigmabridge.retry
-
Exception thrown when calling sync job.
- EBRetryFailedException() - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(String) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(String, Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(String, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(String, Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryFailedException(Throwable, Object, EBRetry) - Constructor for exception com.enigmabridge.retry.EBRetryFailedException
-
- EBRetryJob<Result,Error> - Interface in com.enigmabridge.retry
-
Simple job - subject to retry mechanism.
- EBRetryJobError<Error> - Class in com.enigmabridge.retry
-
Wrapper for the job error.
- EBRetryJobError() - Constructor for class com.enigmabridge.retry.EBRetryJobError
-
- EBRetryJobError(Error) - Constructor for class com.enigmabridge.retry.EBRetryJobError
-
- EBRetryJobError(Throwable) - Constructor for class com.enigmabridge.retry.EBRetryJobError
-
- EBRetryJobError(Error, Throwable) - Constructor for class com.enigmabridge.retry.EBRetryJobError
-
- EBRetryJobErrorThr - Class in com.enigmabridge.retry
-
Job error if error = throwable.
- EBRetryJobErrorThr(Throwable) - Constructor for class com.enigmabridge.retry.EBRetryJobErrorThr
-
- EBRetryJobException - Exception in com.enigmabridge.retry
-
General exception used as a cause that job failed, if there is no other exception cause.
- EBRetryJobException() - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(String) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(String, Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(Throwable) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(Object) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(String, Object) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(String, Throwable, Object) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobException(Throwable, Object) - Constructor for exception com.enigmabridge.retry.EBRetryJobException
-
- EBRetryJobSimple<Result,Error> - Class in com.enigmabridge.retry
-
Simple retry job implementation.
- EBRetryJobSimple() - Constructor for class com.enigmabridge.retry.EBRetryJobSimple
-
- EBRetryJobSimple(EBRetry<Result, Error>) - Constructor for class com.enigmabridge.retry.EBRetryJobSimple
-
- EBRetryJobSimpleSafe<Result,Error> - Class in com.enigmabridge.retry
-
Simple retry job implementation.
- EBRetryJobSimpleSafe() - Constructor for class com.enigmabridge.retry.EBRetryJobSimpleSafe
-
- EBRetryJobSimpleSafeThrErr<Result> - Class in com.enigmabridge.retry
-
Retry Job implementation with job error = Throwable.
- EBRetryJobSimpleSafeThrErr() - Constructor for class com.enigmabridge.retry.EBRetryJobSimpleSafeThrErr
-
- EBRetryListener<Result,Error> - Interface in com.enigmabridge.retry
-
Listener for Retry mechanism to listen for job retry status.
- EBRetryStrategy - Interface in com.enigmabridge.retry
-
EB retry strategy interface.
- EBRetryStrategyBackoff - Class in com.enigmabridge.retry
-
Implementation of
BackOff
that increases the back off period for each retry attempt using
a randomization function that grows exponentially.
- EBRetryStrategyBackoff() - Constructor for class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Creates an instance of ExponentialBackOffPolicy using default values.
- EBRetryStrategyBackoff(JSONObject) - Constructor for class com.enigmabridge.retry.EBRetryStrategyBackoff
-
- EBRetryStrategyBackoff(EBRetryStrategyBackoff.Builder) - Constructor for class com.enigmabridge.retry.EBRetryStrategyBackoff
-
- EBRetryStrategyBackoff.Builder - Class in com.enigmabridge.retry
-
- EBRetryStrategyFactory - Class in com.enigmabridge.retry
-
Construct retry strategy from serialized data.
- EBRetryStrategyFactory() - Constructor for class com.enigmabridge.retry.EBRetryStrategyFactory
-
- EBRetryStrategySimple - Class in com.enigmabridge.retry
-
Simple retry strategy, with threshold, no waiting.
- EBRetryStrategySimple(int) - Constructor for class com.enigmabridge.retry.EBRetryStrategySimple
-
- EBRetryStrategySimple() - Constructor for class com.enigmabridge.retry.EBRetryStrategySimple
-
- EBRetryStrategySimple(JSONObject) - Constructor for class com.enigmabridge.retry.EBRetryStrategySimple
-
- EBUtils - Class in com.enigmabridge.retry
-
Created by dusanklinec on 15.08.16.
- EBUtils() - Constructor for class com.enigmabridge.retry.EBUtils
-
- equals(Object) - Method in class com.enigmabridge.retry.EBRetryStrategySimple
-
- error - Variable in exception com.enigmabridge.retry.EBRetryException
-
Error indicated in onFail() notify.
- error - Variable in class com.enigmabridge.retry.EBRetryJobError
-
If job fails with the particular error, this is the error returned from the job.
- getAsDouble(JSONObject, String) - Static method in class com.enigmabridge.retry.EBUtils
-
- getAsInteger(JSONObject, String, int) - Static method in class com.enigmabridge.retry.EBUtils
-
- getAsLong(JSONObject, String, int) - Static method in class com.enigmabridge.retry.EBUtils
-
- getAttempts() - Method in class com.enigmabridge.retry.EBRetry
-
- getByName(String) - Static method in class com.enigmabridge.retry.EBRetryStrategyFactory
-
- getByName(String, JSONObject) - Static method in class com.enigmabridge.retry.EBRetryStrategyFactory
-
- getCause() - Method in exception com.enigmabridge.retry.EBRetryException
-
Overridden getCause that takes error object into account also.
- getCause() - Method in exception com.enigmabridge.retry.EBRetryJobException
-
Overridden getCause that takes error object into account also.
- getCurrentIntervalMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the current retry interval in milliseconds.
- getElapsedTimeMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
- getError() - Method in exception com.enigmabridge.retry.EBRetryException
-
- getError() - Method in class com.enigmabridge.retry.EBRetryJobError
-
- getError() - Method in exception com.enigmabridge.retry.EBRetryJobException
-
- getErrorCauseIfAny() - Method in exception com.enigmabridge.retry.EBRetryException
-
Return an trhowable instance if the error object is of Throwable type.
- getErrorCauseIfAny() - Method in exception com.enigmabridge.retry.EBRetryJobException
-
Return an trhowable instance if the error object is of Throwable type.
- getInitialIntervalMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the initial retry interval in milliseconds.
- getMaxAttempts() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Maximum number of attempts
- getMaxAttempts() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Return the maximum number of tries that will be attempted for the EBRetryJob instance.
- getMaxAttempts() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
-
- getMaxElapsedTimeMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the maximum elapsed time in milliseconds.
- getMaxIntervalMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the maximum value of the back off period in milliseconds.
- getMultiplier() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Returns the value to multiply the current interval with for each retry attempt.
- getMultiplier() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the value to multiply the current interval with for each retry attempt.
- getName() - Method in interface com.enigmabridge.retry.EBRetryStrategy
-
- getName() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
- getName() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
-
- getRandomizationFactor() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
-
Returns the randomization factor to use for creating a range around the retry interval.
- getRandomizationFactor() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
Returns the randomization factor to use for creating a range around the retry interval.
- getRetry() - Method in exception com.enigmabridge.retry.EBRetryException
-
- getRetry() - Method in class com.enigmabridge.retry.EBRetryJobSimple
-
- getThrowable() - Method in class com.enigmabridge.retry.EBRetryJobError
-
- getWaitingUntilMilli() - Method in class com.enigmabridge.retry.EBRetry
-
- getWaitMilli() - Method in interface com.enigmabridge.retry.EBRetryStrategy
-
- getWaitMilli() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
-
- getWaitMilli() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
-