クラスの使用
org.springframework.batch.core.StepContribution
パッケージ
説明
ジョブ、ステップ、構成、実行の抽象化をカバーする Spring Batch のコアドメインコンテキスト。
アイテム指向アプローチのステップに関する特定の実装。
タスクレット関連のインターフェースおよび一般的な実装。
リモートチャンキングのコンポーネント。
org.springframework.batch.core 内の StepContribution 使用
修飾子と型メソッド説明void
StepExecution.apply
(StepContribution contribution) このメソッドは、実行が成功したときに、チャンクコミットの直前に呼び出す必要があります。org.springframework.batch.core.step.item 内の StepContribution 使用
修飾子と型メソッド説明ChunkOrientedTasklet.execute
(StepContribution contribution, ChunkContext chunkContext) void
ChunkProvider.postProcess
(StepContribution contribution, Chunk<T> chunk) void
FaultTolerantChunkProvider.postProcess
(StepContribution contribution, Chunk<I> chunk) void
SimpleChunkProvider.postProcess
(StepContribution contribution, Chunk<I> chunk) void
ChunkProcessor.process
(StepContribution contribution, Chunk<I> chunk) final void
SimpleChunkProcessor.process
(StepContribution contribution, Chunk<I> inputs) ChunkProvider.provide
(StepContribution contribution) SimpleChunkProvider.provide
(StepContribution contribution) protected I
FaultTolerantChunkProvider.read
(StepContribution contribution, Chunk<I> chunk) protected I
SimpleChunkProvider.read
(StepContribution contribution, Chunk<I> chunk) SimpleChunkProvider.doRead()
へのデリゲート。FaultTolerantChunkProcessor.transform
(StepContribution contribution, Chunk<I> inputs) SimpleChunkProcessor.transform
(StepContribution contribution, Chunk<I> inputs) protected void
protected void
単純な実装はSimpleChunkProcessor.doWrite(Chunk)
メソッドに委譲し、コントリビューションの書き込みカウントをインクリメントします。org.springframework.batch.core.step.tasklet 内の StepContribution 使用
修飾子と型メソッド説明CallableTaskletAdapter.execute
(StepContribution contribution, ChunkContext chunkContext) 提供された Callable を実行し、そのRepeatStatus
を返します。MethodInvokingTaskletAdapter.execute
(StepContribution contribution, ChunkContext chunkContext) デリゲート POJO のメソッドを呼び出すことにより、実行をターゲットオブジェクトにデリゲートし、戻り値をExitStatus
に変換します。SystemCommandTasklet.execute
(StepContribution contribution, ChunkContext chunkContext) システムコマンドを実行し、SystemProcessExitCodeMapper
を使用してその終了コードをExitStatus
にマップします。Tasklet.execute
(StepContribution contribution, ChunkContext chunkContext) ステップコントリビューションの形で現在のコンテキストを前提として、トランザクション内でこのユニットを処理するために必要なことをすべて実行します。org.springframework.batch.integration.chunk 内の StepContribution 使用
修飾子と型メソッド説明ChunkMessageChannelItemWriter.LocalState.createStepContribution()
ChunkRequest.getStepContribution()
ChunkResponse.getStepContribution()
修飾子と型メソッド説明ChunkMessageChannelItemWriter.getStepContributions()
StepContributionSource.getStepContributions()
現在利用可能なコントリビューションを取得し、ソースをドレインします。修飾子と型メソッド説明protected void
RemoteChunkHandlerFactoryBean.updateStepContribution
(StepContribution contribution, StepContributionSource stepContributionSource) StepContributionSource からのすべてのデータで StepContribution を更新します。修飾子コンストラクター説明ChunkRequest
(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) ChunkResponse
(boolean status, int sequence, LongSE jobId, StepContribution stepContribution) ChunkResponse
(boolean status, int sequence, LongSE jobId, StepContribution stepContribution, StringSE message) ChunkResponse
(boolean status, int sequence, LongSE jobId, StepContribution stepContribution, StringSE message, boolean redelivered) ChunkResponse
(int sequence, LongSE jobId, StepContribution stepContribution)