Class RetryHandler


  • public class RetryHandler
    extends Object
    • Constructor Detail

      • RetryHandler

        public RetryHandler​(com.ibm.jbatch.jsl.model.Chunk chunk,
                            long l,
                            String stepId)
    • Method Detail

      • addRetryProcessListener

        public void addRetryProcessListener​(List<RetryProcessListenerProxy> retryProcessListeners)
        Add the user-defined RetryProcessListener.
      • addRetryReadListener

        public void addRetryReadListener​(List<RetryReadListenerProxy> retryReadListeners)
        Add the user-defined RetryReadListener.
      • addRetryWriteListener

        public void addRetryWriteListener​(List<RetryWriteListenerProxy> retryWriteListeners)
        Add the user-defined RetryWriteListener.
      • isRollbackException

        public boolean isRollbackException​(Exception e)
      • handleExceptionRead

        public void handleExceptionRead​(Exception e)
        Handle exception from a read failure.
      • handleExceptionProcess

        public void handleExceptionProcess​(Exception e,
                                           Object w)
        Handle exception from a process failure.
      • handleExceptionWrite

        public void handleExceptionWrite​(Exception e,
                                         List<Object> w)
        Handle exception from a write failure.
      • getException

        public Exception getException()
      • getRetryCount

        public long getRetryCount()
      • setRetryCount

        public void setRetryCount​(long retryCount)