Package org.springframework.batch.core.partition.support
@NonNullApi
package org.springframework.batch.core.partition.support
Implementation of common partition components.
- Author:
- Michael Minella, Mahmoud Ben Hassine
-
ClassDescriptionBase
PartitionHandler
implementation providing common base features.Convenience class for aggregating a set ofStepExecution
instances into a single result.Implementation ofPartitioner
that locates multiple resources and associates their file names with execution context keys.Central strategy interface for creating input parameters for a partitioned step in the form ofExecutionContext
instances.Optional interface forPartitioner
implementations that need to use a custom naming scheme for partitions.Implementation ofStep
which partitions the execution and spreads the load using aPartitionHandler
.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.Simplest possible implementation ofPartitioner
.Generic implementation ofStepExecutionSplitter
that delegates to aPartitioner
to generateExecutionContext
instances.Strategy for a aggregating step executions, usually when they are the result of partitioned or remote execution.APartitionHandler
that uses aTaskExecutor
to execute the partitionedStep
locally in multiple threads.