Package org.springframework.batch.item
Interface ItemCountAware
public interface ItemCountAware
Marker interface indicating that an item should have the item count set on it. Typically used within
an
AbstractItemCountingItemStreamItemReader
.- Author:
- Jimmy Praet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setItemCount
(int count) Setter for the injection of the current item count.
-
Method Details
-
setItemCount
void setItemCount(int count) Setter for the injection of the current item count.- Parameters:
count
- the number of items that have been processed in this execution.
-