boolean awaitTermination(long timeout,TimeUnit unit) throws InterruptedException {
  return schedulerService.awaitTermination(timeout,unit);
}

boolean awaitTermination ( long timeout , TimeUnit unit ) throws InterruptedException { return schedulerService . awaitTermination ( timeout , unit ) ; }
wait until this service has shutdown . returns true if shutdown occurred within the timeout and false otherwise . < p > this is currently exposed at the package private level for tests only .
