com.ibm.jbatch.container.impl
Class SkipHandler

java.lang.Object
  extended by com.ibm.jbatch.container.impl.SkipHandler

public class SkipHandler
extends Object


Field Summary
static String SKIP_COUNT
           
static String SKIP_EXCLUDE_EX
           
static String SKIP_INCLUDE_EX
           
 
Constructor Summary
SkipHandler(Chunk chunk, long l, String stepId)
           
 
Method Summary
 void addSkipProcessListener(List<SkipProcessListenerProxy> skipProcessListener)
          Add the user-defined SkipReadListeners.
 void addSkipReadListener(List<SkipReadListenerProxy> skipReadListener)
          Add the user-defined SkipReadListeners.
 void addSkipWriteListener(List<SkipWriteListenerProxy> skipWriteListener)
          Add the user-defined SkipWriteListeners.
 long getSkipCount()
           
 void handleExceptionRead(Exception e)
          Handle exception from a read failure.
 void handleExceptionWithRecordListWrite(Exception e, List<?> items)
          Handle exception from a write failure.
 void handleExceptionWithRecordProcess(Exception e, Object w)
          Handle exception from a process failure.
 void setSkipCount(long skipCount)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SKIP_COUNT

public static final String SKIP_COUNT
See Also:
Constant Field Values

SKIP_INCLUDE_EX

public static final String SKIP_INCLUDE_EX
See Also:
Constant Field Values

SKIP_EXCLUDE_EX

public static final String SKIP_EXCLUDE_EX
See Also:
Constant Field Values
Constructor Detail

SkipHandler

public SkipHandler(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)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.