|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChunkListener
Listener interface for the lifecycle of a chunk. A chunk can be through of as a collection of items that will be committed together.
| Field Summary | |
|---|---|
static String |
ROLLBACK_EXCEPTION_KEY
|
| Method Summary | |
|---|---|
void |
afterChunk(ChunkContext context)
Callback after the chunk is executed, outside the transaction. |
void |
afterChunkError(ChunkContext context)
Callback after a chunk has been marked for rollback. |
void |
beforeChunk(ChunkContext context)
Callback before the chunk is executed, but inside the transaction. |
| Field Detail |
|---|
static final String ROLLBACK_EXCEPTION_KEY
| Method Detail |
|---|
void beforeChunk(ChunkContext context)
context - The current ChunkContextvoid afterChunk(ChunkContext context)
context - The current ChunkContextvoid afterChunkError(ChunkContext context)
context - the chunk context containing the exception that caused
the underlying rollback.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||