private synchronized void stopInclusionTimer(){
  logger.debug("Stopping inclusion timer.");
  if (inclusion) {
    requestAddNodesStop();
  }
 else   if (exclusion) {
    requestRemoveNodesStop();
  }
 else {
    logger.error("Neither inclusion nor exclusion was active!");
  }
  inclusion=false;
  exclusion=false;
  if (timerTask != null) {
    timerTask.cancel();
    timerTask=null;
  }
}

private synchronized void stopInclusionTimer ( ) { logger . debug ( "Stopping inclusion timer." ) ; if ( inclusion ) { requestAddNodesStop ( ) ; } else if ( exclusion ) { requestRemoveNodesStop ( ) ; } else { logger . error ( "Neither inclusion nor exclusion was active!" ) ; } inclusion = false ; exclusion = false ; if ( timerTask != null ) { timerTask . cancel ( ) ; timerTask = null ; } }
stops any pending inclusion / exclusion . resets flags , and signals to controller .
