Class TestMasterProcedureScheduler.TestPeerProcedure

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.PeerProcedureInterface
Enclosing class:
TestMasterProcedureScheduler

public static class TestMasterProcedureScheduler.TestPeerProcedure extends ProcedureTestingUtility.TestProcedure implements org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
  • 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.PeerProcedureInterface

    org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
     
    private final String
     

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

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestPeerProcedure(long procId, String peerId, org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType
     

    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, 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
  • Field Details

    • peerId

      private final String peerId
    • opType

      private final org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType
  • Constructor Details

    • TestPeerProcedure

      public TestPeerProcedure(long procId, String peerId, org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType opType)
  • Method Details

    • getPeerId

      public String getPeerId()
      Specified by:
      getPeerId in interface org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface
    • getPeerOperationType

      public org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType getPeerOperationType()
      Specified by:
      getPeerOperationType in interface org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface