Class RetryHandler


  • public class RetryHandler
    extends Object
    • Constructor Detail

      • RetryHandler

        public RetryHandler​(Chunk chunk)
    • Method Detail

      • addRetryProcessListener

        public void addRetryProcessListener​(List<javax.batch.api.chunk.listener.RetryProcessListener> retryProcessListeners)
        Add the user-defined RetryProcessListener.
      • addRetryReadListener

        public void addRetryReadListener​(List<javax.batch.api.chunk.listener.RetryReadListener> retryReadListeners)
        Add the user-defined RetryReadListener.
      • addRetryWriteListener

        public void addRetryWriteListener​(List<javax.batch.api.chunk.listener.RetryWriteListener> 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()