|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.ThreadStepInterruptionPolicy
public class ThreadStepInterruptionPolicy
Policy that checks the current thread to see if it has been interrupted.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
ThreadStepInterruptionPolicy()
|
|
| Method Summary | |
|---|---|
void |
checkInterrupted(StepExecution stepExecution)
Returns if the current job lifecycle has been interrupted by checking if the current thread is interrupted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public ThreadStepInterruptionPolicy()
| Method Detail |
|---|
public void checkInterrupted(StepExecution stepExecution)
throws JobInterruptedException
checkInterrupted in interface StepInterruptionPolicystepExecution - the current context of the running step.
JobInterruptedException - when the job has been interrupted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||