@InterfaceAudience.Private public abstract class BaseRSProcedureCallable extends Object implements RSProcedureCallable
Modifier and Type | Field and Description |
---|---|
private Exception |
initError |
protected HRegionServer |
rs |
Constructor and Description |
---|
BaseRSProcedureCallable() |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
protected abstract void |
doCall() |
void |
init(byte[] parameter,
HRegionServer rs)
Initialize the callable
|
protected abstract void |
initParameter(byte[] parameter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventType
protected HRegionServer rs
public BaseRSProcedureCallable()
public final void init(byte[] parameter, HRegionServer rs)
RSProcedureCallable
init
in interface RSProcedureCallable
parameter
- the parameter passed from master.rs
- the regionserver instanceprotected abstract void initParameter(byte[] parameter) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.