@Override
  protected int getStateId(CloseTableRegionsProcedureState state) {
    return state.getNumber();
  }
Procedure for closing all regions for a table.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseTableRegionsProcedure.java