/** * Notify the task it has been accepted * * @return true when the notification succeeds, false otherwise */ protected boolean taskAccepted() { try { task.accepted(getElapsedTime()); return true; } catch (Throwable t) { log.warn("Unexpected error during 'accepted' for task: " + taskString, t); return false; } }