Class SwitchRpcThrottleRemoteCallable
java.lang.Object
org.apache.hadoop.hbase.procedure2.BaseRSProcedureCallable
org.apache.hadoop.hbase.replication.regionserver.SwitchRpcThrottleRemoteCallable
- All Implemented Interfaces:
Callable<Void>
,RSProcedureCallable
The callable executed at RS side to switch rpc throttle state.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.procedure2.BaseRSProcedureCallable
rs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doCall()
Event type used to select thread pool.protected void
initParameter
(byte[] parameter) Methods inherited from class org.apache.hadoop.hbase.procedure2.BaseRSProcedureCallable
call, init
-
Field Details
-
rpcThrottleEnabled
-
-
Constructor Details
-
SwitchRpcThrottleRemoteCallable
public SwitchRpcThrottleRemoteCallable()
-
-
Method Details
-
doCall
- Specified by:
doCall
in classBaseRSProcedureCallable
- Throws:
Exception
-
initParameter
protected void initParameter(byte[] parameter) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException - Specified by:
initParameter
in classBaseRSProcedureCallable
- Throws:
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException
-
getEventType
Description copied from interface:RSProcedureCallable
Event type used to select thread pool.
-