void setReplicasState(String partition, String replica, String state) {
      Map<String, String> replicaToState = partitionToReplicasMap.computeIfAbsent(partition, k -> new HashMap<>());
      replicaToState.put(replica, state);
    }
Private class that holds partition state infos from one data node.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixAdmin.java