public class SimpleRSProcedureManager extends RegionServerProcedureManager
Modifier and Type | Class and Description |
---|---|
class |
SimpleRSProcedureManager.SimleSubprocedureBuilder
Build the actual procedure runner that will do all the 'hard' work
|
class |
SimpleRSProcedureManager.SimpleSubprocedure |
class |
SimpleRSProcedureManager.SimpleSubprocedurePool |
Constructor and Description |
---|
SimpleRSProcedureManager() |
Modifier and Type | Method and Description |
---|---|
Subprocedure |
buildSubprocedure(String name)
If in a running state, creates the specified subprocedure for handling a procedure.
|
String |
getProcedureSignature()
Return the unique signature of the procedure.
|
void |
initialize(RegionServerServices rss)
Initialize a globally barriered procedure for region servers.
|
void |
start()
Start accepting procedure requests.
|
void |
stop(boolean force)
Close this and all running procedure tasks
|
equals, hashCode
public void initialize(RegionServerServices rss) throws KeeperException
RegionServerProcedureManager
initialize
in class RegionServerProcedureManager
rss
- Region Server service interfaceKeeperException
public void start()
RegionServerProcedureManager
start
in class RegionServerProcedureManager
public void stop(boolean force) throws IOException
RegionServerProcedureManager
stop
in class RegionServerProcedureManager
force
- forcefully stop all running tasksIOException
public String getProcedureSignature()
ProcedureManager
getProcedureSignature
in class ProcedureManager
public Subprocedure buildSubprocedure(String name)