Skip navigation links
A B C D E F G H I J L M N O R S T U W Z 

A

abort - Variable in class com.enigmabridge.retry.EBRetry
 
addListener(EBRetryListener<Result, Error>) - Method in class com.enigmabridge.retry.EBRetry
 
attempts - Variable in class com.enigmabridge.retry.EBRetry
 
attempts - Variable in class com.enigmabridge.retry.EBRetryStrategySimple
 

B

BackOff - Interface in com.enigmabridge.retry
Back-off policy when retrying an operation.
build() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Builds a new instance of EBRetryStrategyBackoff.
Builder() - Constructor for class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
 

C

cancel() - Method in interface com.enigmabridge.retry.EBFuture
Triggers cancellation of the task.
cancel - Variable in class com.enigmabridge.retry.EBRetry
 
com.enigmabridge.retry - package com.enigmabridge.retry
 
copy() - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
copy() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
copy() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 

D

DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default initial interval value in milliseconds (0.5 seconds).
DEFAULT_MAX_ATTEMPTS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default maximum number of attempts.
DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default maximum elapsed time in milliseconds (15 minutes).
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default maximum back off time in milliseconds (1 minute).
DEFAULT_MULTIPLIER - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default multiplier value (1.5 which is 50% increase per back off).
DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).

E

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.

F

FIELD_INITIAL_INTERVAL_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_MAX_ATTEMPTS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_MAX_ATTEMPTS - Static variable in class com.enigmabridge.retry.EBRetryStrategySimple
 
FIELD_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_MAX_INTERVAL_MILLIS - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_MULTIPLIER - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_RANDOMIZATION_FACTOR - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
FIELD_STRATEGY_DATA - Static variable in class com.enigmabridge.retry.EBRetry
 
FIELD_STRATEGY_TYPE - Static variable in class com.enigmabridge.retry.EBRetry
 
fromJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetry
 
fromJSON(JSONObject) - Static method in class com.enigmabridge.retry.EBRetryStrategyFactory
 
fromJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 

G

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
Returns the elapsed time in milliseconds since an EBRetryStrategyBackoff instance is created and is reset when EBRetryStrategyBackoff.reset() is called.
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
 

H

hashCode() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 

I

isAborted() - Method in class com.enigmabridge.retry.EBRetry
 
isCancelled() - Method in class com.enigmabridge.retry.EBRetry
 
isDone() - Method in interface com.enigmabridge.retry.EBFuture
Returns true if async task finished its execution.
isRunning() - Method in interface com.enigmabridge.retry.EBFuture
Returns true if async task is still running.
isRunning() - Method in class com.enigmabridge.retry.EBRetry
 

J

job - Variable in class com.enigmabridge.retry.EBRetry
 

L

lastError - Variable in class com.enigmabridge.retry.EBRetry
 
lastResult - Variable in class com.enigmabridge.retry.EBRetry
 
lastWasSuccess - Variable in class com.enigmabridge.retry.EBRetry
 
listeners - Variable in class com.enigmabridge.retry.EBRetry
 

M

maxAttempts - Variable in class com.enigmabridge.retry.EBRetryStrategySimple
 

N

NAME - Static variable in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
NAME - Static variable in class com.enigmabridge.retry.EBRetryStrategySimple
 
nextBackOffMillis() - Method in interface com.enigmabridge.retry.BackOff
Gets the number of milliseconds to wait before retrying the operation or STOP to indicate that no retries should be made.
nextBackOffMillis() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
Gets the number of milliseconds to wait before retrying the operation or STOP to indicate that no retries should be made.
nextBackOffMillis(boolean) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
notifyListenerFailed(EBRetryJobError<Error>) - Method in class com.enigmabridge.retry.EBRetry
 
notifyListenerSuccess(Result) - Method in class com.enigmabridge.retry.EBRetry
 

O

onFail(EBRetryJobError<Error>, boolean) - Method in interface com.enigmabridge.retry.EBCallback
Called by job on fail.
onFail(EBRetryJobError<Error>, boolean) - Method in class com.enigmabridge.retry.EBRetry
Job calls this callback.
onFail(EBRetryJobError<Error>, EBRetry<Result, Error>) - Method in interface com.enigmabridge.retry.EBRetryListener
Called by job on fail.
onFail() - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
onFail() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
onFail() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
onRetry(EBRetry<Result, Error>) - Method in interface com.enigmabridge.retry.EBRetryJob
On retry signal to the job.
onRetry(EBRetry<Result, Error>) - Method in class com.enigmabridge.retry.EBRetryJobSimple
 
onSuccess(Result) - Method in interface com.enigmabridge.retry.EBCallback
Called by job on success.
onSuccess(Result) - Method in class com.enigmabridge.retry.EBRetry
Job calls this callback.
onSuccess(Result, EBRetry<Result, Error>) - Method in interface com.enigmabridge.retry.EBRetryListener
Called by job on success.
onSuccess() - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
onSuccess() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
onSuccess() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
onWaitFinished() - Method in class com.enigmabridge.retry.EBRetry
Called in async run - when waiting was finished.

R

removeListener(EBRetryListener<Result, Error>) - Method in class com.enigmabridge.retry.EBRetry
 
reset() - Method in interface com.enigmabridge.retry.BackOff
Reset to initial state.
reset() - Method in class com.enigmabridge.retry.EBRetry
 
reset() - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
reset() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
Sets the interval back to the initial retry interval and restarts the timer.
reset() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
retry - Variable in class com.enigmabridge.retry.EBRetry.WaitThread
 
retry - Variable in exception com.enigmabridge.retry.EBRetryException
Retry mechanism throwing this exception.
retry - Variable in class com.enigmabridge.retry.EBRetryJobSimple
Retry manager.
retryStrategy - Variable in class com.enigmabridge.retry.EBRetry
 
run() - Method in class com.enigmabridge.retry.EBRetry.WaitThread
 
runAsync(EBRetryJob<Result, Error>) - Method in class com.enigmabridge.retry.EBRetry
 
runAsync() - Method in class com.enigmabridge.retry.EBRetry
Runs the job asynchronously.
runAsync(EBCallback<Result, Error>) - Method in interface com.enigmabridge.retry.EBRetryJob
Executes the function.
runAsync(EBCallback<Result, Error>) - Method in class com.enigmabridge.retry.EBRetryJobSimpleSafe
 
runAsync(EBCallback<Result, Throwable>) - Method in class com.enigmabridge.retry.EBRetryJobSimpleSafeThrErr
 
runAsyncInternal() - Method in class com.enigmabridge.retry.EBRetry
 
runAsyncNoException(EBCallback<Result, Error>) - Method in class com.enigmabridge.retry.EBRetryJobSimpleSafe
Job overrides this main method.
running - Variable in class com.enigmabridge.retry.EBRetry
 
runNow() - Method in interface com.enigmabridge.retry.EBFuture
If task is currently waiting in a backoff interval, this interrupts waiting and immediately executes the task - skipping the waiting interval.
runSync() - Method in class com.enigmabridge.retry.EBRetry
Blocking version of the run.

S

setError(Error) - Method in class com.enigmabridge.retry.EBRetryJobError
 
setError(Object) - Method in exception com.enigmabridge.retry.EBRetryJobException
 
setInitialIntervalMillis(int) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets the initial retry interval in milliseconds.
setJob(EBRetryJob<Result, Error>) - Method in class com.enigmabridge.retry.EBRetry
 
setJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Reads serialized settings from the JSON
setMaxAttempts(int) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets maximum number of attempts before quitting.
setMaxAttempts(int) - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
setMaxElapsedTimeMillis(int) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets the maximum elapsed time in milliseconds.
setMaxIntervalMillis(int) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets the maximum value of the back off period in milliseconds.
setMultiplier(double) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets the value to multiply the current interval with for each retry attempt.
setRandomizationFactor(double) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff.Builder
Sets the randomization factor to use for creating a range around the retry interval.
setThrowable(Throwable) - Method in class com.enigmabridge.retry.EBRetryJobError
 
shouldContinue() - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
shouldContinue() - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
shouldContinue() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
signalized - Variable in class com.enigmabridge.retry.EBRetry
 
startedAsBlocking - Variable in class com.enigmabridge.retry.EBRetry
 
STOP - Static variable in interface com.enigmabridge.retry.BackOff
Indicates that no more retries should be made for use in nextBackOffMillis().
STOP_BACKOFF - Static variable in interface com.enigmabridge.retry.BackOff
Fixed back-off policy that always returns #STOP for nextBackOffMillis(), meaning that the operation should not be retried.

T

throwable - Variable in class com.enigmabridge.retry.EBRetryJobError
Job may also fail with throwable.
toJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetry
 
toJSON(JSONObject) - Method in interface com.enigmabridge.retry.EBRetryStrategy
 
toJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetryStrategyBackoff
 
toJSON(EBRetryStrategy, JSONObject) - Static method in class com.enigmabridge.retry.EBRetryStrategyFactory
 
toJSON(JSONObject) - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
toString() - Method in class com.enigmabridge.retry.EBRetryStrategySimple
 
tryGetAsDouble(JSONObject, String) - Static method in class com.enigmabridge.retry.EBUtils
Tries to extract json parameter as a long.
tryGetAsInteger(JSONObject, String, int) - Static method in class com.enigmabridge.retry.EBUtils
Tries to extract json parameter as an integer.
tryGetAsLong(JSONObject, String, int) - Static method in class com.enigmabridge.retry.EBUtils
Tries to extract json parameter as a long.
tryGetAsString(JSONObject, String) - Static method in class com.enigmabridge.retry.EBUtils
Tries to extract json parameter as an string.

U

updateCauseIfApplicable() - Method in exception com.enigmabridge.retry.EBRetryException
 

W

waitingUntilMilli - Variable in class com.enigmabridge.retry.EBRetry
 
WaitThread(EBRetry) - Constructor for class com.enigmabridge.retry.EBRetry.WaitThread
 

Z

ZERO_BACKOFF - Static variable in interface com.enigmabridge.retry.BackOff
Fixed back-off policy whose back-off time is always zero, meaning that the operation is retried immediately without waiting.
A B C D E F G H I J L M N O R S T U W Z 
Skip navigation links

Copyright © 2016. All rights reserved.