public class RetrySampleItemWriter<T> extends java.lang.Object implements ItemWriter<T>
Constructor and Description |
---|
RetrySampleItemWriter() |
Modifier and Type | Method and Description |
---|---|
int |
getCounter() |
void |
write(java.util.List<? extends T> items)
Process the supplied data element.
|
public void write(java.util.List<? extends T> items) throws java.lang.Exception
ItemWriter
write
in interface ItemWriter<T>
items
- items to be writtenjava.lang.Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.public int getCounter()
write(List)
method was called.