public static final class TestWALProcedureTree.TestProcedure extends org.apache.hadoop.hbase.procedure2.Procedure<Void>
Constructor and Description |
---|
TestProcedure() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(Void env) |
void |
addStackIndex(int index) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[] |
execute(Void env) |
protected void |
rollback(Void env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
void |
setParentProcId(long parentProcId) |
void |
setProcId(long procId) |
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, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
public TestProcedure()
public void setProcId(long procId)
setProcId
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
public void setParentProcId(long parentProcId)
setParentProcId
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
public void addStackIndex(int index)
addStackIndex
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
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
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
InterruptedException
protected void rollback(Void env) throws IOException, InterruptedException
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
IOException
InterruptedException
protected boolean abort(Void env)
abort
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
serializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
IOException
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
deserializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.