Class ProcedureTestingUtility.TestProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure<Void>
org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.TestProcedure
All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
Direct Known Subclasses:
TestMasterProcedureScheduler.TestGlobalProcedure, TestMasterProcedureScheduler.TestNamespaceProcedure, TestMasterProcedureScheduler.TestPeerProcedure, TestMasterProcedureScheduler.TestTableProcedure, TestProcedureUtil.TestProcedureNoDefaultConstructor
Enclosing class:
ProcedureTestingUtility

  • 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
    Modifier and Type
    Field
    Description
    private byte[]
     

    Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TestProcedure(long procId)
     
    TestProcedure(long procId, long parentId)
     
    TestProcedure(long procId, long parentId, byte[] data)
     
    TestProcedure(long procId, long parentId, long rootId, byte[] data)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.procedure2.Procedure.LockState
     
    void
    addStackId(int index)
     
    protected void
    deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     
    void
     
    protected void
    serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     
    void
    setData(byte[] data)
     
    void
     

    Methods inherited from class org.apache.hadoop.hbase.procedure2.ProcedureTestingUtility.NoopProcedure

    abort, execute, rollback

    Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure

    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, isRollbackSupported, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, lockedWhenLoading, needPersistence, removeStackIndex, resetPersistence, restoreLock, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait