Class SimpleRSProcedureManager.SimpleSubprocedure
java.lang.Object
org.apache.hadoop.hbase.procedure.Subprocedure
org.apache.hadoop.hbase.procedure.SimpleRSProcedureManager.SimpleSubprocedure
- Enclosing class:
- SimpleRSProcedureManager
public class SimpleRSProcedureManager.SimpleSubprocedure
extends org.apache.hadoop.hbase.procedure.Subprocedure
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
Callable task.Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure.Subprocedure
org.apache.hadoop.hbase.procedure.Subprocedure.SubprocedureImpl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.regionserver.RegionServerServices
private final SimpleRSProcedureManager.SimpleSubprocedurePool
Fields inherited from class org.apache.hadoop.hbase.procedure.Subprocedure
executionTimeoutTimer, monitor, rpcs, wakeFrequency
-
Constructor Summary
ConstructorDescriptionSimpleSubprocedure
(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.procedure.ProcedureMember member, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher errorListener, SimpleRSProcedureManager.SimpleSubprocedurePool taskManager, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Cancel threads if they haven't finished.private void
execute()
byte[]
do a log roll.Methods inherited from class org.apache.hadoop.hbase.procedure.Subprocedure
call, cancel, getErrorCheckable, getMemberName, getName, isComplete, receiveReachedGlobalBarrier, waitForLocallyCompleted, waitForReachedGlobalBarrier
-
Field Details
-
rss
-
taskManager
-
-
Constructor Details
-
SimpleSubprocedure
public SimpleSubprocedure(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.procedure.ProcedureMember member, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher errorListener, SimpleRSProcedureManager.SimpleSubprocedurePool taskManager, String name)
-
-
Method Details
-
execute
- Throws:
org.apache.hadoop.hbase.errorhandling.ForeignException
-
acquireBarrier
- Specified by:
acquireBarrier
in classorg.apache.hadoop.hbase.procedure.Subprocedure
- Throws:
org.apache.hadoop.hbase.errorhandling.ForeignException
-
insideBarrier
do a log roll.- Specified by:
insideBarrier
in classorg.apache.hadoop.hbase.procedure.Subprocedure
- Throws:
org.apache.hadoop.hbase.errorhandling.ForeignException
-
cleanup
Cancel threads if they haven't finished.- Specified by:
cleanup
in classorg.apache.hadoop.hbase.procedure.Subprocedure
-