Annotation Interface AfterWrite


@Retention(RUNTIME) @Target(METHOD) public @interface AfterWrite
Marks a method to be called after an item is passed to an ItemWriter. Note that this annotation takes a Chunk because Spring Batch generally processes a group of items (for the sake of efficiency).

Expected signature: void afterWrite(Chunk<? extends S> items)
Since:
2.0
Author:
Lucas Ward, Mahmoud Ben Hassine
See Also: