@Override
  public List<ReplicaId> getReplicaIdsByState(ReplicaState state, String dcName) {
    // for static clustermap we assume all replicas are in StandBy state.
    List<ReplicaId> result = new ArrayList<>();
    if (state == ReplicaState.STANDBY) {
      result = replicas.stream()
          .filter(k -> dcName == null || k.getDataNodeId().getDatacenterName().equals(dcName))
          .collect(Collectors.toList());
    }
    return Collections.unmodifiableList(result);
  }
An extension of {@link PartitionId} to be used within the {@link StaticClusterManager}.

A Partition is the unit of data management in Ambry. Each Partition is uniquely identifiable by an ID. Partitions
consist of one or more {@link Replica}s. Replicas ensure that a Partition is available and reliable.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/Partition.java