hasAttribute(se.attrs, "Role", "HealthMonitor") &&
hasAttribute(se.attrs, "Role", HEALTH_MONITOR) &&
  protected SortedSet getCandidates() {    SortedSet candidates = new TreeSet();    synchronized (statusMap) {      for (Iterator it = statusMap.values().iterator(); it.hasNext(); ) {        StatusEntry se = (StatusEntry)it.next();        /*logger.info("getCandidates" +                    " name=" + se.name +                    " hasAttr=" + hasAttribute(se.attrs, "Role", "HealthMonitor") +                    " isExpired=" + isExpired(se) +                    " currentState=" + se.currentState +                    " normalState=" + normalState);*/        if (se != null &&            se.attrs != null  &&            hasAttribute(se.attrs, "Role", "HealthMonitor") &&            !isExpired(se) &&            se.currentState == normalState) {          candidates.add(se.name);        }      }    }    return candidates;  }