protected void markStepForFailure ( ) { StopLock stopLock = getStopLock ( ) ; // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized ( stopLock ) { updateStepBatchStatus ( BatchStatus . FAILED ) ; if ( ! issuedFailureMessageToJobLog ) { stepThreadHelper . logFailedMessage ( ) ; issuedFailureMessageToJobLog = true ; } } }
Updates in - memory status and issues message to job log but does not persist final status .