@NonNullApi
程序包 org.springframework.batch.core.partition.support
Implementation of common partition components.
- 作者:
- Michael Minella, Mahmoud Ben Hassine
接口概要 接口 说明 Partitioner Central strategy interface for creating input parameters for a partitioned step in the form ofExecutionContext
instances.PartitionNameProvider Optional interface forPartitioner
implementations that need to use a custom naming scheme for partitions.StepExecutionAggregator Strategy for a aggregating step executions, usually when they are the result of partitioned or remote execution.类概要 类 说明 AbstractPartitionHandler BasePartitionHandler
implementation providing common base features.DefaultStepExecutionAggregator Convenience class for aggregating a set ofStepExecution
instances into a single result.MultiResourcePartitioner Implementation ofPartitioner
that locates multiple resources and associates their file names with execution context keys.PartitionStep Implementation ofStep
which partitions the execution and spreads the load using aPartitionHandler
.RemoteStepExecutionAggregator Convenience class for aggregating a set ofStepExecution
instances when the input comes from remote steps, so the data need to be refreshed from the repository.SimplePartitioner Simplest possible implementation ofPartitioner
.SimpleStepExecutionSplitter Generic implementation ofStepExecutionSplitter
that delegates to aPartitioner
to generateExecutionContext
instances.TaskExecutorPartitionHandler APartitionHandler
that uses aTaskExecutor
to execute the partitionedStep
locally in multiple threads.