Uses of Class
org.springframework.batch.item.file.builder.MultiResourceItemWriterBuilder
Package
Description
Builders for file item readers and writers.
-
Uses of MultiResourceItemWriterBuilder in org.springframework.batch.item.file.builder
Modifier and TypeMethodDescriptionMultiResourceItemWriterBuilder.delegate
(ResourceAwareItemWriterItemStream<? super T> delegate) Delegate used for actual writing of the output.MultiResourceItemWriterBuilder.itemCountLimitPerResource
(int itemCountLimitPerResource) After this limit is exceeded the next chunk will be written into newly created resource.The name used to calculate the key within theExecutionContext
.MultiResourceItemWriterBuilder.resource
(org.springframework.core.io.Resource resource) Prototype for output resources.MultiResourceItemWriterBuilder.resourceSuffixCreator
(ResourceSuffixCreator suffixCreator) Allows customization of the suffix of the created resources based on the index.MultiResourceItemWriterBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.