インターフェースの使用
org.springframework.batch.repeat.RepeatOperations
RepeatOperations を使用するパッケージ
パッケージ
説明
java ベースのジョブ構成用のステップレベルのビルダー。
ステップレベルコンポーネントのファクトリ。
アイテム指向アプローチのステップに関する特定の実装。
タスクレット関連のインターフェースおよび一般的な実装。
リモートチャンキングのコンポーネント。
繰り返しコールバックの関心事のインフラストラクチャ実装。
繰り返し aop の関心事のインフラストラクチャ実装。
繰り返しサポートの関心事のインフラストラクチャ実装。
org.springframework.batch.core.step.builder 内の RepeatOperations 使用
修飾子と型メソッド説明protected RepeatOperations
SimpleStepBuilder.createChunkOperations()
protected RepeatOperations
AbstractTaskletStepBuilder.getStepOperations()
サブクラスがユーザーによって注入されたステップ操作にアクセスするための便利なメソッド。型 RepeatOperations のパラメーターを持つ org.springframework.batch.core.step.builder のメソッド修飾子と型メソッド説明SimpleStepBuilder.chunkOperations
(RepeatOperations repeatTemplate) chunk size
またはcompletion policy
の代わりに、アイテムリーダーの繰り返しを処理する完全な繰り返し操作インスタンスを提供できます。AbstractTaskletStepBuilder.stepOperations
(RepeatOperations repeatTemplate) タスクレットの実行を繰り返すために使用する繰り返しテンプレートを設定します。org.springframework.batch.core.step.factory 内の RepeatOperations 使用
修飾子と型メソッド説明protected RepeatOperations
SimpleStepFactoryBean.getChunkOperations()
チャンク操作がサブクラスで使用できるようにするための保護された getter。protected RepeatOperations
SimpleStepFactoryBean.getStepOperations()
ステップ操作がサブクラスで使用できるようにするための保護された getter。型 RepeatOperations のパラメーターを持つ org.springframework.batch.core.step.factory のメソッド修飾子と型メソッド説明void
SimpleStepFactoryBean.setChunkOperations
(RepeatOperations chunkOperations) chunkOperations 用のパブリック setter。void
SimpleStepFactoryBean.setStepOperations
(RepeatOperations stepOperations) stepOperations 用のパブリック setter。org.springframework.batch.core.step.item 内の RepeatOperations 使用
型 RepeatOperations のパラメーターを持つ org.springframework.batch.core.step.item のコンストラクター修飾子コンストラクター説明FaultTolerantChunkProvider
(ItemReader<? extends I> itemReader, RepeatOperations repeatOperations) SimpleChunkProvider
(ItemReader<? extends I> itemReader, RepeatOperations repeatOperations) org.springframework.batch.core.step.tasklet 内の RepeatOperations 使用
型 RepeatOperations のパラメーターを持つ org.springframework.batch.core.step.tasklet のメソッド修飾子と型メソッド説明void
TaskletStep.setStepOperations
(RepeatOperations stepOperations) バッチ処理の外側のループに使用するRepeatOperations
。org.springframework.batch.integration.chunk 内の RepeatOperations 使用
型 RepeatOperations のパラメーターを持つ org.springframework.batch.integration.chunk のメソッド修飾子と型メソッド説明RemoteChunkingManagerStepBuilder.chunkOperations
(RepeatOperations repeatTemplate) RemoteChunkingManagerStepBuilder.stepOperations
(RepeatOperations repeatTemplate) org.springframework.batch.repeat.callback 内の RepeatOperations 使用
型 RepeatOperations のパラメーターを持つ org.springframework.batch.repeat.callback のコンストラクター修飾子コンストラクター説明NestedRepeatCallback
(RepeatOperations template, RepeatCallback callback) コンストラクター設定の必須フィールド。org.springframework.batch.repeat.interceptor 内の RepeatOperations 使用
型 RepeatOperations のパラメーターを持つ org.springframework.batch.repeat.interceptor のメソッド修飾子と型メソッド説明void
RepeatOperationsInterceptor.setRepeatOperations
(RepeatOperations batchTemplate) RepeatOperations
の Setter。org.springframework.batch.repeat.support 内の RepeatOperations 使用
RepeatOperations を実装している org.springframework.batch.repeat.support のクラス修飾子と型クラス説明class
RepeatOperations
を実装するバッチテンプレートの単純な実装と基本クラス。class
実行時の動作を変更または監視するために使用できるインターセプターを含むRepeatOperations
サポートを提供します。
この実装は、RepeatCallback
をトランザクション化することで各項目のトランザクション動作を構成するのに十分であり、または実行メソッドをトランザクション化することでバッチ全体のトランザクション動作を構成するのに十分です (ただし、タスク実行者が同期している場合に限ります)。
このクラスは、そのコラボレーターがスレッドセーフである場合 (インターセプター、terminationPolicy、コールバック)、スレッドセーフです。