C E G O P Q R S T 
All Classes All Packages

C

ch.repnik.quartzretry - package ch.repnik.quartzretry
 

E

execute(P) - Method in class ch.repnik.quartzretry.QuartzRetry
Starts the retry attempt
execute(P, RetryContext) - Method in class ch.repnik.quartzretry.QuartzRetry
Starts the retry atttempt

G

getDataMap() - Method in class ch.repnik.quartzretry.RetryContext
Gets the current dataMap, for storing metadata across retries
getNumber() - Method in class ch.repnik.quartzretry.RetryTimeout
Gets the numeric part of the timeout
getRetryCount() - Method in class ch.repnik.quartzretry.RetryContext
Gets the current retry count
0 = first try (no retry done so far) n = nth retry
getRetryTimeouts() - Method in class ch.repnik.quartzretry.QuartzRetry
 
getUnit() - Method in class ch.repnik.quartzretry.RetryTimeout
Gets the unit part of the timeout

O

onError(P, Exception, RetryContext) - Method in class ch.repnik.quartzretry.QuartzRetry
 
onFailure(P, Exception, RetryContext) - Method in class ch.repnik.quartzretry.QuartzRetry
 
onSuccess(P, R, RetryContext) - Method in class ch.repnik.quartzretry.QuartzRetry
 

P

process(P, RetryContext) - Method in class ch.repnik.quartzretry.QuartzRetry
 

Q

QuartzRetry<P extends Serializable,​R> - Class in ch.repnik.quartzretry
Extend this class for adding quartz retry to your application
QuartzRetry() - Constructor for class ch.repnik.quartzretry.QuartzRetry
 
QuartzRetryException - Exception in ch.repnik.quartzretry
Signals all exceptions related to the retry logic
QuartzRetryException(String, Throwable) - Constructor for exception ch.repnik.quartzretry.QuartzRetryException
 

R

RetryContext - Class in ch.repnik.quartzretry
Simple context class for reading and writing metadata related to the retries
RetryContext() - Constructor for class ch.repnik.quartzretry.RetryContext
 
RetryTimeout - Class in ch.repnik.quartzretry
This class holds all data to define the timeout between retries.

S

setScheduler(Scheduler) - Method in class ch.repnik.quartzretry.QuartzRetry
Sets the current quartz scheduler automatically by injection There should not be a need to call this method manually.

T

timeout(int, DateBuilder.IntervalUnit) - Static method in class ch.repnik.quartzretry.RetryTimeout
Creates an instance of RetryTimeout with the defined timeout.
C E G O P Q R S T 
All Classes All Packages