Package ch.repnik.quartzretry
Class RetryContext
- java.lang.Object
-
- ch.repnik.quartzretry.RetryContext
-
- All Implemented Interfaces:
Serializable
public final class RetryContext extends Object implements Serializable
Simple context class for reading and writing metadata related to the retries- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getDataMap()Gets the current dataMap, for storing metadata across retriesintgetRetryCount()Gets the current retry count
0 = first try (no retry done so far) n = nth retry
-