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(java.lang.Exception ex)
The onError method receives control
 before the chunk transaction is rolled back. 
 | 
void beforeChunk()
          throws java.lang.Exception
java.lang.Exception - throw if an error occurs.void onError(java.lang.Exception ex)
      throws java.lang.Exception
ex - specifies the exception that
 caused the roll back.java.lang.Exception - throw if an error occurs.void afterChunk()
         throws java.lang.Exception
java.lang.Exception - throw if an error occurs.