Uses of Class
org.springframework.batch.item.file.builder.MultiResourceItemWriterBuilder
Packages that use MultiResourceItemWriterBuilder
Package
Description
Builders for file item readers and writers.
-
Uses of MultiResourceItemWriterBuilder in org.springframework.batch.item.file.builder
Methods in org.springframework.batch.item.file.builder that return MultiResourceItemWriterBuilderModifier 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 theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.