@InterfaceAudience.Private public class SwitchRpcThrottleRemoteCallable extends Object implements RSProcedureCallable
| Modifier and Type | Field and Description |
|---|---|
private Exception |
initError |
private boolean |
rpcThrottleEnabled |
private HRegionServer |
rs |
| Constructor and Description |
|---|
SwitchRpcThrottleRemoteCallable() |
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
EventType |
getEventType()
Event type used to select thread pool.
|
void |
init(byte[] parameter,
HRegionServer rs)
Initialize the callable
|
private HRegionServer rs
private boolean rpcThrottleEnabled
public SwitchRpcThrottleRemoteCallable()
public void init(byte[] parameter, HRegionServer rs)
RSProcedureCallableinit in interface RSProcedureCallableparameter - the parameter passed from master.rs - the regionserver instancepublic EventType getEventType()
RSProcedureCallablegetEventType in interface RSProcedureCallableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.