@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)
RSProcedureCallable
init
in interface RSProcedureCallable
parameter
- the parameter passed from master.rs
- the regionserver instancepublic EventType getEventType()
RSProcedureCallable
getEventType
in interface RSProcedureCallable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.