Class TestMasterProcedureScheduler.TestTableProcedure

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnv>
All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<Void>>, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
Direct Known Subclasses:
MasterProcedureSchedulerPerformanceEvaluation.TableProcedure, TestMasterProcedureScheduler.TestRegionProcedure, TestMasterProcedureScheduler.TestTableProcedureWithEvent
Enclosing class:
TestMasterProcedureScheduler

public static class TestMasterProcedureScheduler.TestTableProcedure extends ProcedureTestingUtility.TestProcedure implements org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure

    org.apache.hadoop.hbase.procedure2.Procedure.LockState

    Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface

    org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
     
    private final org.apache.hadoop.hbase.TableName
     

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

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TestTableProcedure(long rootProcId, long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
     
    TestTableProcedure(long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
     
    TestTableProcedure(long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.TableName
     
    org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType
     
    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, 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, removeStackIndex, 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, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted

    Methods inherited from class java.lang.Object

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

    • opType

      private final org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType
    • tableName

      private final org.apache.hadoop.hbase.TableName tableName
  • Constructor Details

    • TestTableProcedure

    • TestTableProcedure

      public TestTableProcedure(long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
    • TestTableProcedure

      public TestTableProcedure(long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
    • TestTableProcedure

      public TestTableProcedure(long rootProcId, long parentProcId, long procId, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType opType)
  • Method Details

    • getTableName

      public org.apache.hadoop.hbase.TableName getTableName()
      Specified by:
      getTableName in interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
    • getTableOperationType

      public org.apache.hadoop.hbase.master.procedure.TableProcedureInterface.TableOperationType getTableOperationType()
      Specified by:
      getTableOperationType in interface org.apache.hadoop.hbase.master.procedure.TableProcedureInterface
    • toStringClassDetails

      Overrides:
      toStringClassDetails in class org.apache.hadoop.hbase.procedure2.Procedure<Void>