Class ThreadStepInterruptionPolicy

  • All Implemented Interfaces:
    StepInterruptionPolicy

    public class ThreadStepInterruptionPolicy
    extends java.lang.Object
    implements StepInterruptionPolicy
    Policy that checks the current thread to see if it has been interrupted.
    Author:
    Lucas Ward, Dave Syer
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      protected static org.apache.commons.logging.Loglogger 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcheckInterrupted​(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

      • logger

        protected static final org.apache.commons.logging.Log logger
    • Constructor Detail

      • ThreadStepInterruptionPolicy

        public ThreadStepInterruptionPolicy()