public void shutdownNow() throws Exception {
  log.debug("shutdownNow");
  parsing.set(false);
  if (parserService != null)   parserService.shutdownNow();
  if (indexerService != null)   indexerService.shutdownNow();
  if (indexerTask != null) {
    indexerTask.cancel(true);
  }
  if (mmgr != null) {
    mmgr.clear();
  }
}

public void shutdownNow ( ) throws Exception { log . debug ( "shutdownNow" ) ; parsing . set ( false ) ; if ( parserService != null ) parserService . shutdownNow ( ) ; if ( indexerService != null ) indexerService . shutdownNow ( ) ; if ( indexerTask != null ) { indexerTask . cancel ( true ) ; } if ( mmgr != null ) { mmgr . clear ( ) ; } }
immediate shutdown . running tasks will be canceled .
