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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Voidcall()protected abstract voiddoCall()final voidinit(byte[] parameter, HRegionServer rs) Initialize the callableprotected abstract voidinitParameter(byte[] parameter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:RSProcedureCallableInitialize the callable- Specified by:
initin interfaceRSProcedureCallable- Parameters:
parameter- the parameter passed from master.rs- the regionserver instance
-
doCall
- Throws:
Exception
-
initParameter
- Throws:
Exception
-