protected boolean taskCompleted ( Throwable throwable ) { try { task . completed ( getElapsedTime ( ) , throwable ) ; return true ; } catch ( Throwable t ) { log . warn ( "Unexpected error during 'completed' for task: " + taskString , t ) ; if ( throwable != null ) log . warn ( "Original error during 'run' for task: " + taskString , throwable ) ; return false ; } }
Notify the task it has completed