Class ProcedureTestingUtility.NoopProcedure<TEnv>
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure<TEnv>
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<TEnv>>
- Direct Known Subclasses:
ProcedureTestingUtility.TestProcedure
,RegionProcedureStoreTestProcedure
,TestForceUpdateProcedure.ExchangeProcedure
,TestForceUpdateProcedure.NoopNoAckProcedure
,TestForceUpdateProcedure.ParentProcedure
,TestForceUpdateProcedure.WaitingProcedure
,TestHbck.SuspendProcedure
,TestLoadProcedureError.TestProcedure
,TestProcedureBypass.RootProcedure
,TestProcedureBypass.StuckProcedure
,TestProcedureBypass.SuspendProcedure
,TestProcedureBypass.WaitingTimeoutProcedure
,TestProcedureCleanup.ExchangeProcedure
,TestProcedureCleanup.RootProcedure
,TestProcedureCleanup.SuspendProcedure
,TestProcedureCleanup.WaitProcedure
,TestProcedureEvents.TestTimeoutEventProcedure
,TestProcedureExecutor.BusyWaitProcedure
,TestProcedureRollbackAIOOB.ParentProcedure
,TestProcedureRollbackAIOOB.SubProcedure
,TestProcedureSchedulerConcurrency.TestProcedureWithEvent
,TestSchedulerQueueDeadLock.TableExclusiveProcedure
,TestSchedulerQueueDeadLock.TableShardParentProcedure
,TestSchedulerQueueDeadLock.TableSharedProcedure
,TestStackIdHoles.DummyProcedure
,TestStateMachineProcedure.SimpleChildProcedure
- Enclosing class:
- ProcedureTestingUtility
public static class ProcedureTestingUtility.NoopProcedure<TEnv>
extends org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure
org.apache.hadoop.hbase.procedure2.Procedure.LockState
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected void
deserializeStateData
(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) protected org.apache.hadoop.hbase.procedure2.Procedure<TEnv>[]
protected void
protected void
serializeStateData
(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure
acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doAcquireLock, doExecute, doReleaseLock, 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, lockedWhenLoading, needPersistence, releaseLock, removeStackIndex, resetPersistence, restoreLock, 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, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Constructor Details
-
NoopProcedure
public NoopProcedure()
-
-
Method Details
-
execute
protected org.apache.hadoop.hbase.procedure2.Procedure<TEnv>[] execute(TEnv env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, InterruptedException - Specified by:
execute
in classorg.apache.hadoop.hbase.procedure2.Procedure<TEnv>
- Throws:
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
InterruptedException
-
rollback
- Specified by:
rollback
in classorg.apache.hadoop.hbase.procedure2.Procedure<TEnv>
- Throws:
IOException
InterruptedException
-
abort
- Specified by:
abort
in classorg.apache.hadoop.hbase.procedure2.Procedure<TEnv>
-
serializeStateData
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException - Specified by:
serializeStateData
in classorg.apache.hadoop.hbase.procedure2.Procedure<TEnv>
- Throws:
IOException
-
deserializeStateData
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException - Specified by:
deserializeStateData
in classorg.apache.hadoop.hbase.procedure2.Procedure<TEnv>
- Throws:
IOException
-