Class TestProcedureMetrics.ProcedureMetrics

java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnvironment>
org.apache.hadoop.hbase.procedure2.SequentialProcedure<TestProcedureMetrics.TestProcEnv>
org.apache.hadoop.hbase.procedure2.TestProcedureMetrics.ProcedureMetrics
All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureMetrics.TestProcEnv>>
Enclosing class:
TestProcedureMetrics

public static class TestProcedureMetrics.ProcedureMetrics extends org.apache.hadoop.hbase.procedure2.SequentialProcedure<TestProcedureMetrics.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
    static long
     
    static long
     
     
    private boolean
     
    static long
     
    private boolean
     
    private int
     
    private int
     

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

    NO_PROC_ID, NO_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ProcedureMetrics(boolean success)
     
    ProcedureMetrics(boolean success, boolean yield)
     
    ProcedureMetrics(boolean success, boolean yield, int yieldCount)
     
    ProcedureMetrics(boolean success, boolean yield, int yieldCount, TestProcedureMetrics.ProcedureMetrics[] subprocs)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected org.apache.hadoop.hbase.procedure2.Procedure[]
     
    protected void
     
    protected void
    updateMetricsOnFinish(TestProcedureMetrics.TestProcEnv env, long time, boolean success)
     
    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, updateTimestamp, waitInitialized, wasExecuted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait