Class TestMasterProcedureScheduler.TestNamespaceProcedure
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.TestNamespaceProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
,org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
- Enclosing class:
- TestMasterProcedureScheduler
public static class TestMasterProcedureScheduler.TestNamespaceProcedure
extends ProcedureTestingUtility.TestProcedure
implements org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-
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 String
private final org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionTestNamespaceProcedure
(long procId, String nsName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.TableName
org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
void
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
-
opType
private final org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType -
nsName
-
-
Constructor Details
-
TestNamespaceProcedure
public TestNamespaceProcedure() -
TestNamespaceProcedure
public TestNamespaceProcedure(long procId, String nsName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
-
-
Method Details
-
getTableName
- Specified by:
getTableName
in interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-
getTableOperationType
public org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType getTableOperationType()- Specified by:
getTableOperationType
in interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface
-
toStringClassDetails
- Overrides:
toStringClassDetails
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
-