Class TestProcedureDescriber.TestProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure
org.apache.hadoop.hbase.procedure.TestProcedureDescriber.TestProcedure
All Implemented Interfaces:
Comparable
Enclosing class:
TestProcedureDescriber

public static class TestProcedureDescriber.TestProcedure extends org.apache.hadoop.hbase.procedure2.Procedure
  • 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 inherited from class org.apache.hadoop.hbase.procedure2.Procedure

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected void
    deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     
    protected org.apache.hadoop.hbase.procedure2.Procedure[]
     
    protected void
     
    protected void
    serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer)
     

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

    acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doExecute, 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, releaseLock, removeStackIndex, 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, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • execute

      protected org.apache.hadoop.hbase.procedure2.Procedure[] execute(Object env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, InterruptedException
      Specified by:
      execute in class org.apache.hadoop.hbase.procedure2.Procedure
      Throws:
      org.apache.hadoop.hbase.procedure2.ProcedureYieldException
      org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
      InterruptedException
    • rollback

      protected void rollback(Object env) throws IOException, InterruptedException
      Specified by:
      rollback in class org.apache.hadoop.hbase.procedure2.Procedure
      Throws:
      IOException
      InterruptedException
    • abort

      protected boolean abort(Object env)
      Specified by:
      abort in class org.apache.hadoop.hbase.procedure2.Procedure
    • serializeStateData

      protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
      Specified by:
      serializeStateData in class org.apache.hadoop.hbase.procedure2.Procedure
      Throws:
      IOException
    • deserializeStateData

      protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
      Specified by:
      deserializeStateData in class org.apache.hadoop.hbase.procedure2.Procedure
      Throws:
      IOException