Class BaseRSProcedureCallable
java.lang.Object
org.apache.hadoop.hbase.procedure2.BaseRSProcedureCallable
- All Implemented Interfaces:
Callable<Void>
,RSProcedureCallable
- Direct Known Subclasses:
ClaimReplicationQueueCallable
,FlushRegionCallable
,RefreshPeerCallable
,SnapshotRegionCallable
,SnapshotVerifyCallable
,SplitWALCallable
,SwitchRpcThrottleRemoteCallable
@Private
public abstract class BaseRSProcedureCallable
extends Object
implements RSProcedureCallable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Void
call()
protected abstract void
doCall()
final void
init
(byte[] parameter, HRegionServer rs) Initialize the callableprotected abstract void
initParameter
(byte[] parameter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.procedure2.RSProcedureCallable
getEventType
-
Field Details
-
rs
-
initError
-
-
Constructor Details
-
BaseRSProcedureCallable
public BaseRSProcedureCallable()
-
-
Method Details
-
call
-
init
Description copied from interface:RSProcedureCallable
Initialize the callable- Specified by:
init
in interfaceRSProcedureCallable
- Parameters:
parameter
- the parameter passed from master.rs
- the regionserver instance
-
doCall
- Throws:
Exception
-
initParameter
- Throws:
Exception
-