String getLiveness() {
    return resourceStatePolicy.isHardDown() ? NODE_DOWN : resourceStatePolicy.isDown() ? SOFT_DOWN : UP;
  }
@return the status of the node according to its {@link ResourceStatePolicy}
ambry-clustermap/src/main/java/com/github/ambry/clustermap/AmbryDataNode.java