public class SkipHandler extends Object
Constructor and Description |
---|
SkipHandler(Chunk chunk) |
Modifier and Type | Method and Description |
---|---|
void |
addSkipProcessListener(List<javax.batch.api.chunk.listener.SkipProcessListener> skipProcessListener)
Add the user-defined SkipReadListeners.
|
void |
addSkipReadListener(List<javax.batch.api.chunk.listener.SkipReadListener> skipReadListener)
Add the user-defined SkipReadListeners.
|
void |
addSkipWriteListener(List<javax.batch.api.chunk.listener.SkipWriteListener> skipWriteListener)
Add the user-defined SkipWriteListeners.
|
void |
handleExceptionRead(Exception e)
Handle exception from a read failure.
|
void |
handleExceptionWithRecordListWrite(Exception e,
List<Object> items)
Handle exception from a write failure.
|
void |
handleExceptionWithRecordProcess(Exception e,
Object w)
Handle exception from a process failure.
|
String |
toString() |
public SkipHandler(Chunk chunk)
public void addSkipReadListener(List<javax.batch.api.chunk.listener.SkipReadListener> skipReadListener)
public void addSkipWriteListener(List<javax.batch.api.chunk.listener.SkipWriteListener> skipWriteListener)
public void addSkipProcessListener(List<javax.batch.api.chunk.listener.SkipProcessListener> skipProcessListener)
public void handleExceptionRead(Exception e)
public void handleExceptionWithRecordProcess(Exception e, Object w)
public void handleExceptionWithRecordListWrite(Exception e, List<Object> items)
Copyright © 2017 The Apache Software Foundation. All rights reserved.