public void cancelAll(){
  for (  Future future : runableMap.values()) {
    future.cancel(true);
  }
  runableMap.clear();
  shutdown();
}

public void cancelAll ( ) { for ( Future future : runableMap . values ( ) ) { future . cancel ( true ) ; } runableMap . clear ( ) ; shutdown ( ) ; }
cancel all running tasks
