Class SkipHandler


  • public class SkipHandler
    extends Object
    • Constructor Detail

      • SkipHandler

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

      • addSkipReadListener

        public void addSkipReadListener​(List<SkipReadListenerProxy> skipReadListener)
        Add the user-defined SkipReadListeners.
      • addSkipWriteListener

        public void addSkipWriteListener​(List<SkipWriteListenerProxy> skipWriteListener)
        Add the user-defined SkipWriteListeners.
      • addSkipProcessListener

        public void addSkipProcessListener​(List<SkipProcessListenerProxy> skipProcessListener)
        Add the user-defined SkipReadListeners.
      • handleExceptionRead

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

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

        public void handleExceptionWithRecordListWrite​(Exception e,
                                                       List<?> items)
        Handle exception from a write failure.
      • getSkipCount

        public long getSkipCount()
      • setSkipCount

        public void setSkipCount​(long skipCount)