@Override
  protected int getStateId(SwitchRpcThrottleState throttleState) {
    return throttleState.getNumber();
  }
The procedure to switch rpc throttle
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SwitchRpcThrottleProcedure.java