boolean checkServerUp(String serverId){
  if ((serverId == null) || (serverId.isEmpty())) {
    return false;
  }
  if (serverId.equalsIgnoreCase(localServerId)) {
    return true;
  }
  if ((servers == null) || servers.isEmpty()) {
    return false;
  }
  StateInfo info=servers.get(serverId);
  info.isUp=checkServerUp(info);
  return info.isUp;
}

boolean checkServerUp ( String serverId ) { if ( ( serverId == null ) || ( serverId . isEmpty ( ) ) ) { return false ; } if ( serverId . equalsIgnoreCase ( localServerId ) ) { return true ; } if ( ( servers == null ) || servers . isEmpty ( ) ) { return false ; } StateInfo info = servers . get ( serverId ) ; info . isUp = checkServerUp ( info ) ; return info . isUp ; }
actively checks and updates the status of the server instance identified by serverid
