public static class ProcedureTestingUtility.TestProcedure extends ProcedureTestingUtility.NoopProcedure<Void>
Modifier and Type | Field and Description |
---|---|
private byte[] |
data |
Constructor and Description |
---|
TestProcedure() |
TestProcedure(long procId) |
TestProcedure(long procId,
long parentId) |
TestProcedure(long procId,
long parentId,
byte[] data) |
TestProcedure(long procId,
long parentId,
long rootId,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.procedure2.Procedure.LockState |
acquireLock(Void env) |
void |
addStackId(int index) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
void |
releaseLock(Void env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
void |
setData(byte[] data) |
void |
setSuccessState() |
abort, execute, rollback
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, isYieldAfterExecutionStep, lockedWhenLoading, needPersistence, 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 byte[] data
public TestProcedure()
public TestProcedure(long procId)
public TestProcedure(long procId, long parentId)
public TestProcedure(long procId, long parentId, byte[] data)
public TestProcedure(long procId, long parentId, long rootId, byte[] data)
public void addStackId(int index)
public void setSuccessState()
public void setData(byte[] data)
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
serializeStateData
in class ProcedureTestingUtility.NoopProcedure<Void>
IOException
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
deserializeStateData
in class ProcedureTestingUtility.NoopProcedure<Void>
IOException
public org.apache.hadoop.hbase.procedure2.Procedure.LockState acquireLock(Void env)
acquireLock
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
public void releaseLock(Void env)
releaseLock
in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.