Class TestProcedureExecution.TestWaitingProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnvironment>
org.apache.hadoop.hbase.procedure2.SequentialProcedure<Void>
org.apache.hadoop.hbase.procedure2.TestProcedureExecution.TestWaitingProcedure
All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>
Enclosing class:
TestProcedureExecution

public static class TestProcedureExecution.TestWaitingProcedure extends org.apache.hadoop.hbase.procedure2.SequentialProcedure<Void>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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 final boolean
     
    private final String
     
    private final List<String>
     

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

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TestWaitingProcedure(String name, List<String> state, boolean hasChild)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    abort(Void env)
     
    protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[]
     
    protected void
     

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

    deserializeStateData, doExecute, doRollback, serializeStateData

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

    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, isRollbackSupported, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, lockedWhenLoading, needPersistence, releaseLock, 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
  • Field Details

  • Constructor Details

  • Method Details

    • execute

      protected org.apache.hadoop.hbase.procedure2.Procedure<Void>[] execute(Void env)
      Specified by:
      execute in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
    • rollback

      protected void rollback(Void env)
      Specified by:
      rollback in class org.apache.hadoop.hbase.procedure2.Procedure<Void>
    • abort

      protected boolean abort(Void env)
      Specified by:
      abort in class org.apache.hadoop.hbase.procedure2.Procedure<Void>