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, hashCodepublic void initialize(RegionServerServices rss) throws IOException
RegionServerProcedureManagerinitialize in class RegionServerProcedureManagerrss - Region Server service interfaceIOExceptionpublic void start()
RegionServerProcedureManagerstart in class RegionServerProcedureManagerpublic void stop(boolean force)
throws IOException
RegionServerProcedureManagerstop in class RegionServerProcedureManagerforce - forcefully stop all running tasksIOExceptionpublic String getProcedureSignature()
ProcedureManagergetProcedureSignature in class ProcedureManagerpublic Subprocedure buildSubprocedure(String name)