public static class TestYieldProcedures.TestYieldProcedure extends org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
Modifier and Type | Field and Description |
---|---|
private int |
step |
Constructor and Description |
---|
TestYieldProcedure() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(TestYieldProcedures.TestProcEnv env) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
protected org.apache.hadoop.hbase.procedure2.Procedure[] |
execute(TestYieldProcedures.TestProcEnv env) |
protected boolean |
isYieldAfterExecutionStep(TestYieldProcedures.TestProcEnv env) |
protected void |
rollback(TestYieldProcedures.TestProcEnv env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
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, isRunnable, isSuccess, isWaiting, lockedWhenLoading, needPersistence, releaseLock, removeStackIndex, resetPersistence, restoreLock, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
private int step
public TestYieldProcedure()
protected org.apache.hadoop.hbase.procedure2.Procedure[] execute(TestYieldProcedures.TestProcEnv env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
protected void rollback(TestYieldProcedures.TestProcEnv env)
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
protected boolean abort(TestYieldProcedures.TestProcEnv env)
abort
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
protected boolean isYieldAfterExecutionStep(TestYieldProcedures.TestProcEnv env)
isYieldAfterExecutionStep
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
serializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
IOException
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
deserializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<TestYieldProcedures.TestProcEnv>
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.