Class ProcedureExecutor<TEnvironment>

java.lang.Object
org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TEnvironment>

@Private public class ProcedureExecutor<TEnvironment> extends Object
Thread Pool that executes the submitted procedures. The executor has a ProcedureStore associated. Each operation is logged and on restart the pending procedures are resumed. Unless the Procedure code throws an error (e.g. invalid user input) the procedure will complete (at some point in time), On restart the pending procedures are resumed and the once failed will be rolledback. The user can add procedures to the executor via submitProcedure(proc) check for the finished state via isFinished(procId) and get the result via getResult(procId)