@Override
  protected void deserializeStateData(ProcedureStateSerializer serializer) throws IOException {
    super.deserializeStateData(serializer);
    CloseExcessRegionReplicasProcedureStateData data =
      serializer.deserialize(CloseExcessRegionReplicasProcedureStateData.class);
    tableName = ProtobufUtil.toTableName(data.getTableName());
    newReplicaCount = data.getNewReplicaCount();
  }
Procedure for close excess region replicas.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseExcessRegionReplicasProcedure.java