public class SkipHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SKIP_COUNT |
static String |
SKIP_EXCLUDE_EX |
static String |
SKIP_INCLUDE_EX |
| Constructor and Description |
|---|
SkipHandler(Chunk chunk,
long l,
String stepId) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final String SKIP_COUNT
public static final String SKIP_INCLUDE_EX
public static final String SKIP_EXCLUDE_EX
public void addSkipReadListener(List<SkipReadListenerProxy> skipReadListener)
public void addSkipWriteListener(List<SkipWriteListenerProxy> skipWriteListener)
public void addSkipProcessListener(List<SkipProcessListenerProxy> skipProcessListener)
public void handleExceptionRead(Exception e)
public void handleExceptionWithRecordProcess(Exception e, Object w)
public void handleExceptionWithRecordListWrite(Exception e, List<?> items)
public long getSkipCount()
public void setSkipCount(long skipCount)
© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0