C# Class Summer.Batch.Core.Step.ThreadStepInterruptionPolicy

Policy that checks the current thread to see if it has been interrupted.
Inheritance: IStepInterruptionPolicy
Show file Open project: SummerBatch/SummerBatch

Protected Properties

Property Type Description
Logger NLog.Logger

Public Methods

Method Description
CheckInterrupted ( StepExecution stepExecution ) : void

Checks if step execution has been interrupted. Throws a JobInterrupdeException in that case.

Private Methods

Method Description
IsInterrupted ( StepExecution stepExecution ) : bool

Test for api or applicative interruption.

Method Details

CheckInterrupted() public method

Checks if step execution has been interrupted. Throws a JobInterrupdeException in that case.
 
public CheckInterrupted ( StepExecution stepExecution ) : void
stepExecution StepExecution
return void

Property Details

Logger protected static property

Logger.
protected static Logger,NLog Logger
return NLog.Logger