public interface RepeatListener
修飾子と型 | メソッドと説明 |
---|---|
void | after(RepeatContext context, RepeatStatus result) アイテムの処理で例外が発生しない限り、各アイテムが処理された後にフレームワークによって呼び出されます。 |
void | before(RepeatContext context) 各バッチ項目の前にフレームワークによって呼び出されます。 |
void | close(RepeatContext context) 正常なまたは異常な補完後(つまり、完全なバッチの最後に一度呼び出されます) |
void | onError(RepeatContext context, java.lang.Throwable e) 例外をスローして繰り返しコールバックが失敗したときに呼び出されます。 |
void | open(RepeatContext context) アイテムが処理される前に、完全なバッチの開始時に 1 回呼び出されます。 |
void before(RepeatContext context)
context
- 現在のバッチコンテキスト。void after(RepeatContext context, RepeatStatus result)
context
- 現在のバッチコンテキスト result
- コールバックの結果 void open(RepeatContext context)
context
- 現在のバッチコンテキスト void onError(RepeatContext context, java.lang.Throwable e)
context
- 現在のバッチコンテキスト e
- アイテムのコールバックで発生したエラー。void close(RepeatContext context)
context
- 現在のバッチコンテキスト。