public void rejectedExecution(Runnable r,java.util.concurrent.ThreadPoolExecutor e){
  if (!e.isShutdown()) {
    r.run();
  }
}

public void rejectedExecution ( Runnable r , java . util . concurrent . ThreadPoolExecutor e ) { if ( ! e . isShutdown ( ) ) { r . run ( ) ; } }
executes task r in the caller ' s thread , unless the executor has been shut down , in which case the task is discarded .
