logger.info( "Task completed normally: {} cancelled: {}; done: {}", task, task.isCancelled(),
task.isDone() );
}
catch ( InterruptedException e )
{
if ( !task.ignoreInterrupts() )
{
task.cancel();
logger.info( "Task cancelled: {} cancelled: {} ; done: {}", task, task.isCancelled(),
task.isDone() );