public class ThreadStepInterruptionPolicy extends java.lang.Object implements StepInterruptionPolicy
修飾子と型 | フィールドと説明 |
---|---|
protected static org.apache.commons.logging.Log | logger |
コンストラクターと説明 |
---|
ThreadStepInterruptionPolicy() |
修飾子と型 | メソッドと説明 |
---|---|
void | checkInterrupted(StepExecution stepExecution) 現在のスレッドが中断されているかどうかを確認することにより、現在のジョブライフサイクルが中断されているかどうかを返します。 |
public void checkInterrupted(StepExecution stepExecution) throws JobInterruptedException
StepInterruptionPolicy
の checkInterrupted
stepExecution
- 実行中のステップの現在のコンテキスト。JobInterruptedException
- ジョブが中断されたとき。