@Override
  public Map<ReplicaState, List<AmbryReplica>> getReplicaIdsByStates(Set<ReplicaState> states, String dcName) {
    Map<ReplicaState, List<AmbryReplica>> replicasByStates = new HashMap<>();
    clusterManagerQueryHelper.getReplicaIdsByStates(replicasByStates, this, states, dcName);
    return replicasByStates;
  }
Instantiate an AmbryPartition instance.
@param id the id associated with this partition.
@param partitionClass the partition class that this partition belongs to
@param clusterManagerQueryHelper {@link HelixClusterManagerQueryHelper} to query cluster information.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/AmbryPartition.java