Summer.Batch.Core.Partition.Support.TaskExecutorPartitionHandler Class Reference
An IPartitionHandler that uses an ITaskExecutor to execute the partitioned IStep locally in multiple threads. This can be an effective approach for scaling batch steps that are IO intensive, like directory and filesystem scanning and copying. By default, the thread pool is synchronous. More...
Inheritance diagram for Summer.Batch.Core.Partition.Support.TaskExecutorPartitionHandler:
Protected Member Functions | |
override ICollection< StepExecution > | DoHandle (StepExecution masterStepExecution, ICollection< StepExecution > partitionStepExecutions) |
Task< StepExecution > | CreateTask (IStep step, StepExecution stepExecution) |
Creates a task to be executed later on for the given stepExecution. More... | |
Properties | |
ITaskExecutor | TaskExecutor [set] |
Task executor property. More... | |
IStep | Step [get, set] |
Step property. More... | |
Properties inherited from Summer.Batch.Core.Partition.Support.AbstractPartitionHandler | |
int | GridSize [get, set] |
Grid size property. Defaults to 1. More... | |
Properties inherited from Summer.Batch.Core.Step.IStepHolder | |
IStep | Step [get, set] |
Hold step. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Summer.Batch.Core.Partition.Support.AbstractPartitionHandler | |
ICollection< StepExecution > | Handle (IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution) |
see IPartitionHandler::Handle . More... | |
Detailed Description
An IPartitionHandler that uses an ITaskExecutor to execute the partitioned IStep locally in multiple threads. This can be an effective approach for scaling batch steps that are IO intensive, like directory and filesystem scanning and copying. By default, the thread pool is synchronous.
Member Function Documentation
|
protected |
Creates a task to be executed later on for the given stepExecution.
- Parameters
-
step stepExecution
- Returns
|
protectedvirtual |
- See also
- AbstractPartitionHandler::DoHandle .
- Parameters
-
masterStepExecution partitionStepExecutions
- Returns
Implements Summer.Batch.Core.Partition.Support.AbstractPartitionHandler.
Property Documentation
|
set |
Task executor property.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Partition/Support/TaskExecutorPartitionHandler.cs