クラス DefaultStepExecutionAggregator
java.lang.ObjectSE
org.springframework.batch.core.partition.support.DefaultStepExecutionAggregator
- 実装されたすべてのインターフェース:
StepExecutionAggregator
StepExecution
インスタンスのセットを単一の結果に集約するためのコンビニエンスクラス。- 導入:
- 2.1
- 作成者:
- Dave Syer
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明void
aggregate
(StepExecution result, CollectionSE<StepExecution> executions) 入力実行を結果StepExecution
に集約します。
コンストラクターの詳細
DefaultStepExecutionAggregator
public DefaultStepExecutionAggregator()
メソッドの詳細
aggregate
入力実行を結果StepExecution
に集約します。集約されたフィールドは- 状況 -
BatchStatus.max(BatchStatus, BatchStatus)
を使用して最大値を選択する - exitStatus -
ExitStatus.and(ExitStatus)
を使用 - commitCount、rollbackCount など - 算術合計による
- 次で指定:
- インターフェース
StepExecutionAggregator
のaggregate
- パラメーター:
result
- 上書きする結果executions
- 入力- 関連事項:
- 状況 -