org.springframework.batch.core
Interface ChunkListener

All Superinterfaces:
StepListener
All Known Implementing Classes:
ChunkListenerSupport, CompositeChunkListener, MulticasterBatchListener, StagingItemListener, StepListenerSupport

public interface ChunkListener
extends StepListener

Listener interface for the lifecycle of a chunk. A chunk can be through of as a collection of items that will be committed together.

Author:
Lucas Ward

Method Summary
 void afterChunk()
          Callback after the chunk is executed, but inside the transaction.
 void beforeChunk()
          Callback before the chunk is executed, but inside the transaction.
 

Method Detail

beforeChunk

void beforeChunk()
Callback before the chunk is executed, but inside the transaction.


afterChunk

void afterChunk()
Callback after the chunk is executed, but inside the transaction.



Copyright © 2009 SpringSource. All Rights Reserved.