public void setPartitionState(PartitionState state) {
    partitionState = state;
  }
Set state of this partition.
@param state the {@link PartitionState} associated with this partition.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockPartitionId.java