Class TestMasterProcedureScheduler.TestRegionProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure<Void>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.TestProcedure
org.apache.hadoop.hbase.master.procedure.TestMasterProcedureScheduler.TestTableProcedure
org.apache.hadoop.hbase.master.procedure.TestMasterProcedureScheduler.TestRegionProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
,org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
- Direct Known Subclasses:
MasterProcedureSchedulerPerformanceEvaluation.RegionProcedure
- Enclosing class:
- TestMasterProcedureScheduler
public static class TestMasterProcedureScheduler.TestRegionProcedure
extends TestMasterProcedureScheduler.TestTableProcedure
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure
org.apache.hadoop.hbase.procedure2.Procedure.LockState
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.client.RegionInfo[]
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionTestRegionProcedure
(long rootProcId, long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos) TestRegionProcedure
(long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos) TestRegionProcedure
(long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.RegionInfo[]
void
Methods inherited from class org.apache.hadoop.hbase.master.procedure.TestMasterProcedureScheduler.TestTableProcedure
getTableName, getTableOperationType
Methods inherited from class org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.TestProcedure
acquireLock, addStackId, deserializeStateData, releaseLock, serializeStateData, setData, setSuccessState
Methods inherited from class org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure
abort, execute, rollback
Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure
addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doExecute, doRollback, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, getProcedureMetrics, getProcId, getProcIdHashCode, getProcName, getResult, getRootProcedureId, getRootProcId, getStackIndexes, getState, getSubmittedTime, getTimeout, getTimeoutTimestamp, hasChildren, hasException, hasLock, hasOwner, hasParent, hasTimeout, haveSameParent, holdLock, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRollbackSupported, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, removeStackIndex, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Field Details
-
regionInfos
-
-
Constructor Details
-
TestRegionProcedure
public TestRegionProcedure() -
TestRegionProcedure
public TestRegionProcedure(long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos) -
TestRegionProcedure
public TestRegionProcedure(long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos) -
TestRegionProcedure
public TestRegionProcedure(long rootProcId, long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType, org.apache.hadoop.hbase.client.RegionInfo... regionInfos)
-
-
Method Details
-
getRegionInfo
-
toStringClassDetails
- Overrides:
toStringClassDetails
in classTestMasterProcedureScheduler.TestTableProcedure
-