public static class TestProcedureExecution.TestSequentialProcedure extends org.apache.hadoop.hbase.procedure2.SequentialProcedure<Void>
Modifier and Type | Field and Description |
---|---|
private Exception |
failure |
private String |
name |
private List<String> |
state |
private org.apache.hadoop.hbase.procedure2.Procedure<Void>[] |
subProcs |
Constructor and Description |
---|
TestSequentialProcedure() |
TestSequentialProcedure(String name,
List<String> state,
Exception failure) |
TestSequentialProcedure(String name,
List<String> state,
org.apache.hadoop.hbase.procedure2.Procedure... subProcs) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(Void env) |
protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[] |
execute(Void env) |
protected void |
rollback(Void env) |
deserializeStateData, doExecute, doRollback, serializeStateData
acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doAcquireLock, doReleaseLock, 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, 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
public TestSequentialProcedure()
public TestSequentialProcedure(String name, List<String> state, org.apache.hadoop.hbase.procedure2.Procedure... subProcs)
public TestSequentialProcedure(String name, List<String> state, Exception failure)
protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[] execute(Void env)
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
protected void rollback(Void env)
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.