public interface RetryListener
The RetryListener gets control at several points during job step failure and retry.
The RetryListener is registered with the JobStepContext via JobStepContext.addRetryListener(RetryListener).
For example:
JobStepContext jsCtx= JobStepContextMgr.getContext();
jsCtx.addRetryListener(new MyRetryListener());
void onError(java.lang.Throwable t)
t
- The error that caused the retry.void onRetry(java.lang.Throwable t)
t
- The error that caused the retry.