Class TestProcedureSuspended.TestLockProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureSuspended.TestProcEnv>
org.apache.hadoop.hbase.procedure2.TestProcedureSuspended.TestLockProcedure
All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureSuspended.TestProcEnv>>
Enclosing class:
TestProcedureSuspended

public static class TestProcedureSuspended.TestLockProcedure extends org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureSuspended.TestProcEnv>
  • 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 boolean
     
    private final String
     
     
    private boolean
     
    private boolean
     
    private final ArrayList<Long>
     
    private boolean
     

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

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestLockProcedure(AtomicBoolean lock, String key, boolean throwYield, boolean throwSuspend)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected org.apache.hadoop.hbase.procedure2.Procedure.LockState
     
    protected void
    deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     
    protected org.apache.hadoop.hbase.procedure2.Procedure[]
     
     
    protected boolean
     
    protected void
     
    protected void
     
    protected void
    serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     
    void
    setThrowSuspend(boolean throwSuspend)
     
    void
    setThrowYield(boolean throwYield)
     
    void
    setTriggerRollback(boolean triggerRollback)
     
    protected void
     

    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, 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, 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