Class TestMasterProcedureScheduler.TestPeerProcedure
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.TestPeerProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
,org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
- Enclosing class:
- TestMasterProcedureScheduler
public static class TestMasterProcedureScheduler.TestPeerProcedure
extends ProcedureTestingUtility.TestProcedure
implements org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
-
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.PeerProcedureInterface
org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
private final String
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionTestPeerProcedure
(long procId, String peerId, org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
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, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Field Details
-
peerId
-
opType
private final org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType
-
-
Constructor Details
-
TestPeerProcedure
public TestPeerProcedure(long procId, String peerId, org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType)
-
-
Method Details
-
getPeerId
- Specified by:
getPeerId
in interfaceorg.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
-
getPeerOperationType
public org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType getPeerOperationType()- Specified by:
getPeerOperationType
in interfaceorg.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
-