@Override
  protected void deserializeStateData(ProcedureStateSerializer serializer) throws IOException {
    super.deserializeStateData(serializer);
    SwitchRpcThrottleStateData data = serializer.deserialize(SwitchRpcThrottleStateData.class);
    rpcThrottleEnabled = data.getRpcThrottleEnabled();
  }
The procedure to switch rpc throttle
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SwitchRpcThrottleProcedure.java