Class TestProcedureTree.TestProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<Void>
org.apache.hadoop.hbase.procedure2.store.TestProcedureTree.TestProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
- Enclosing class:
- TestProcedureTree
public static final class TestProcedureTree.TestProcedure
extends org.apache.hadoop.hbase.procedure2.Procedure<Void>
-
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
void
addStackIndex
(int index) protected void
deserializeStateData
(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[]
protected void
protected void
serializeStateData
(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) void
setParentProcId
(long parentProcId) void
setProcId
(long procId) Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure
acquireLock, 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, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Constructor Details
-
TestProcedure
public TestProcedure()
-
-
Method Details
-
setProcId
- Overrides:
setProcId
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
-
setParentProcId
- Overrides:
setParentProcId
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
-
addStackIndex
- Overrides:
addStackIndex
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
-
execute
protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[] execute(Void 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<Void>
- 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<Void>
- Throws:
IOException
InterruptedException
-
abort
- Specified by:
abort
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
-
serializeStateData
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException - Specified by:
serializeStateData
in classorg.apache.hadoop.hbase.procedure2.Procedure<Void>
- 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<Void>
- Throws:
IOException
-