public interface ChunkListener
| Modifier and Type | Method and Description |
|---|---|
void |
afterChunk()
The afterChunk method receives control
after processing of the current
chunk ends.
|
void |
beforeChunk()
The beforeChunk method receives control
before processing of the next
chunk begins.
|
void |
onError(Exception ex)
The onError method receives control
before the chunk transaction is rolled back.
|
void beforeChunk()
throws Exception
Exception - throw if an error occurs.void onError(Exception ex) throws Exception
ex - specifies the exception that
caused the roll back.Exception - throw if an error occurs.© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0