if(logger.isInfoEnabled()) { if(csce.getCurrentLeader() == null) { logger.debug("Lost robustness manager:" + " priorLeader=" + csce.getPriorLeader()); } else { logger.info("New robustness manager:" + " newLeader=" + csce.getCurrentLeader() + " priorLeader=" + csce.getPriorLeader()); } }
leaderChange(csce.getPriorLeader(), csce.getCurrentLeader());
  protected void processLeaderChanges(CommunityStatusChangeEvent csce,                                      CommunityStatusModel csm) {    if(logger.isInfoEnabled()) {      if(csce.getCurrentLeader() == null) {        logger.debug("Lost robustness manager:" + " priorLeader=" +                    csce.getPriorLeader());      } else {        logger.info("New robustness manager:" +                    " newLeader=" + csce.getCurrentLeader() +                    " priorLeader=" + csce.getPriorLeader());      }    }  }