クラスの使用
org.springframework.batch.item.ExecutionContext
ExecutionContext を使用するパッケージ
パッケージ
説明
ジョブ、ステップ、構成、実行の抽象化をカバーする Spring Batch のコアドメインコンテキスト。
ジョブ関心事の特定実装。
共通パーティションコンポーネントの実装。
dao 関心事の特定実装。
ステップに関する特定の実装。
アイテム指向アプローチのステップに関する特定の実装。
タスクレット関連のインターフェースおよび一般的な実装。
アイテム処理を非同期的に実行し、処理が完了したときに結果を書き込むためのコンポーネント。
リモートチャンキングのコンポーネント。
インフラストラクチャインターフェースとアイテムの問題に対する主な依存関係。
データベースベースのアイテムリーダーおよびライターのインフラストラクチャ実装。
io ファイルに関するインフラストラクチャの実装。
Apache Kafka 関連のリーダーとライター
内部サポートパッケージ
xml 入出力のインフラストラクチャ実装。
バッチジョブ / ステップテストのユーティリティクラス。
org.springframework.batch.core 内の ExecutionContext 使用
修飾子と型メソッド説明JobExecution.getExecutionContext()
この実行のExecutionContext
を返します。StepExecution.getExecutionContext()
この実行のExecutionContext
を返します。型 ExecutionContext のパラメーターを持つ org.springframework.batch.core のメソッド修飾子と型メソッド説明void
JobExecution.setExecutionContext
(ExecutionContext executionContext) この実行のExecutionContext
を設定します。void
StepExecution.setExecutionContext
(ExecutionContext executionContext) この実行のExecutionContext
を設定します。org.springframework.batch.core.job 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.job のメソッド修飾子と型メソッド説明void
SimpleStepHandler.setExecutionContext
(ExecutionContext executionContext) 処理される前にステップ実行に追加される値を含むコンテキスト。型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.job のコンストラクターorg.springframework.batch.core.partition.support 内の ExecutionContext 使用
型 ExecutionContext の引数を持つ型を返す org.springframework.batch.core.partition.support のメソッド修飾子と型メソッド説明MultiResourcePartitioner.partition
(int gridSize) 注入された各リソースのファイル名をExecutionContext
に割り当てます。Partitioner.partition
(int gridSize) 個別のExecutionContext
インスタンスのセットを、それぞれの一意の識別子と共に作成します。SimplePartitioner.partition
(int gridSize) 型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.partition.support のメソッド修飾子と型メソッド説明protected boolean
SimpleStepExecutionSplitter.isStartable
(StepExecution stepExecution, ExecutionContext context) ステップ実行が開始可能かどうかを確認します。org.springframework.batch.core.repository.dao 内の ExecutionContext 使用
修飾子と型メソッド説明ExecutionContextDao.getExecutionContext
(JobExecution jobExecution) ExecutionContextDao.getExecutionContext
(StepExecution stepExecution) JdbcExecutionContextDao.getExecutionContext
(JobExecution jobExecution) JdbcExecutionContextDao.getExecutionContext
(StepExecution stepExecution) MongoExecutionContextDao.getExecutionContext
(JobExecution jobExecution) MongoExecutionContextDao.getExecutionContext
(StepExecution stepExecution) org.springframework.batch.core.step 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.step のメソッド修飾子と型メソッド説明protected void
AbstractStep.close
(ExecutionContext ctx) リソースを閉じるか解放するために、ステップの最後(finally ブロックの最後)でコラボレーターにコールバックを提供するサブクラスの拡張ポイント。protected void
AbstractStep.open
(ExecutionContext ctx) ステップを開始するときにサブクラスがコラボレーターにコールバックを提供し、リソースを開いたり取得したりするための拡張ポイント。org.springframework.batch.core.step.item 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.step.item のメソッド修飾子と型メソッド説明void
ChunkMonitor.open
(ExecutionContext executionContext) void
ChunkMonitor.update
(ExecutionContext executionContext) org.springframework.batch.core.step.tasklet 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.core.step.tasklet のメソッド修飾子と型メソッド説明protected void
TaskletStep.close
(ExecutionContext ctx) protected void
TaskletStep.open
(ExecutionContext ctx) org.springframework.batch.integration.async 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.integration.async のメソッド修飾子と型メソッド説明void
AsyncItemWriter.open
(ExecutionContext executionContext) void
AsyncItemWriter.update
(ExecutionContext executionContext) org.springframework.batch.integration.chunk 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.integration.chunk のメソッド修飾子と型メソッド説明void
ChunkMessageChannelItemWriter.open
(ExecutionContext executionContext) void
ChunkMessageChannelItemWriter.update
(ExecutionContext executionContext) org.springframework.batch.item 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item のメソッド修飾子と型メソッド説明default void
ItemStream.open
(ExecutionContext executionContext) 提供されたExecutionContext
のストリームを開きます。default void
ItemStream.update
(ExecutionContext executionContext) オープン中に提供された実行コンテキストが保存されようとしていることを示します。型 ExecutionContext のパラメーターを持つ org.springframework.batch.item のコンストラクター修飾子コンストラクター説明ExecutionContext
(ExecutionContext executionContext) 別のExecutionContext
の内容で新しいExecutionContext
を初期化します。org.springframework.batch.item.avro 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.avro のメソッドorg.springframework.batch.item.database 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.database のメソッド修飾子と型メソッド説明void
JdbcPagingItemReader.open
(ExecutionContext executionContext) void
JdbcPagingItemReader.update
(ExecutionContext executionContext) void
JpaCursorItemReader.update
(ExecutionContext executionContext) org.springframework.batch.item.file 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.file のメソッド修飾子と型メソッド説明void
MultiResourceItemReader.open
(ExecutionContext executionContext) 再起動の場合にどのリソースから開始するかを判断し、デリゲートを開いて、リソース内のデリゲートの位置を復元します。void
MultiResourceItemWriter.open
(ExecutionContext executionContext) void
ResourcesItemReader.open
(ExecutionContext executionContext) void
MultiResourceItemReader.update
(ExecutionContext executionContext) 現在のリソースインデックスと位置をリソースに保存します。void
MultiResourceItemWriter.update
(ExecutionContext executionContext) void
ResourcesItemReader.update
(ExecutionContext executionContext) org.springframework.batch.item.kafka 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.kafka のメソッド修飾子と型メソッド説明void
KafkaItemReader.open
(ExecutionContext executionContext) void
KafkaItemReader.update
(ExecutionContext executionContext) org.springframework.batch.item.redis 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.redis のメソッドorg.springframework.batch.item.support 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.support のメソッド修飾子と型メソッド説明void
AbstractFileItemWriter.open
(ExecutionContext executionContext) リーダーを初期化します。void
AbstractItemCountingItemStreamItemReader.open
(ExecutionContext executionContext) void
CompositeItemReader.open
(ExecutionContext executionContext) void
CompositeItemStream.open
(ExecutionContext executionContext) オープンするためのコールをブロードキャストします。void
CompositeItemWriter.open
(ExecutionContext executionContext) void
SingleItemPeekableItemReader.open
(ExecutionContext executionContext) デリゲートがItemStream
の場合は、呼び出しを渡すだけです。それ以外の場合は、ピークキャッシュをリセットします。void
SynchronizedItemStreamReader.open
(ExecutionContext executionContext) void
SynchronizedItemStreamWriter.open
(ExecutionContext executionContext) void
AbstractFileItemWriter.OutputState.restoreFrom
(ExecutionContext executionContext) void
AbstractFileItemWriter.update
(ExecutionContext executionContext) void
AbstractItemCountingItemStreamItemReader.update
(ExecutionContext executionContext) void
CompositeItemReader.update
(ExecutionContext executionContext) void
CompositeItemStream.update
(ExecutionContext executionContext) 指定されたキーで登録されたコントリビュートのための単純な集約ExecutionContext
プロバイダー。void
CompositeItemWriter.update
(ExecutionContext executionContext) void
SingleItemPeekableItemReader.update
(ExecutionContext executionContext) キャッシュされたピークがある場合は、その時点から実行コンテキストの状態を取得します。void
SynchronizedItemStreamReader.update
(ExecutionContext executionContext) void
SynchronizedItemStreamWriter.update
(ExecutionContext executionContext) org.springframework.batch.item.xml 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.item.xml のメソッド修飾子と型メソッド説明void
StaxEventItemWriter.open
(ExecutionContext executionContext) 出力ソースを開くvoid
StaxEventItemWriter.update
(ExecutionContext executionContext) 再起動データを取得します。org.springframework.batch.test 内の ExecutionContext 使用
型 ExecutionContext のパラメーターを持つ org.springframework.batch.test のメソッド修飾子と型メソッド説明static StepExecution
MetaDataInstanceFactory.createStepExecution
(JobParameters jobParameters, ExecutionContext executionContext) static StepExecution
MetaDataInstanceFactory.createStepExecution
(ExecutionContext executionContext) StepExecution
とそのすべての親エンティティをデフォルト値で作成しますが、提供されているExecutionContext
を使用します。JobLauncherTestUtils.launchStep
(StringSE stepName, JobParameters jobParameters, ExecutionContext jobExecutionContext) StepRunner.JOB_NAME
という名前の周囲の型SimpleJob
の単一ステップジョブ内の指定されたステップのみを起動します。JobLauncherTestUtils.launchStep
(StringSE stepName, ExecutionContext jobExecutionContext) StepRunner.JOB_NAME
という名前の周囲の型SimpleJob
の単一ステップジョブ内の指定されたステップのみを起動します。StepRunner.launchStep
(Step step, JobParameters jobParameters, ExecutionContext jobExecutionContext) StepRunner.JOB_NAME
という名前の周囲の型SimpleJob
の単一ステップジョブ内の指定されたステップのみを起動します。StepRunner.launchStep
(Step step, ExecutionContext jobExecutionContext) StepRunner.JOB_NAME
という名前の周囲の型SimpleJob
の単一ステップジョブ内の指定されたステップのみを起動します。