private void shutdown(){
  if (execSvc != null)   execSvc.shutdown(5000);
  if (msgExecSvc != null)   msgExecSvc.shutdownNow();
  try {
    job.dispose(true);
  }
 catch (  IgniteCheckedException e) {
    U.error(log,"Failed to dispose job.",e);
  }
}

private void shutdown ( ) { if ( execSvc != null ) execSvc . shutdown ( 5000 ) ; if ( msgExecSvc != null ) msgExecSvc . shutdownNow ( ) ; try { job . dispose ( true ) ; } catch ( IgniteCheckedException e ) { U . error ( log , "Failed to dispose job." , e ) ; } }
stops all executors and running tasks .
