public static final class TestCloseRegionWhileRSCrash.DummyServerProcedure extends org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> implements org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.ServerName |
serverName |
Constructor and Description |
---|
DummyServerProcedure() |
DummyServerProcedure(org.apache.hadoop.hbase.ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected org.apache.hadoop.hbase.procedure2.Procedure.LockState |
acquireLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
protected org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>[] |
execute(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
org.apache.hadoop.hbase.ServerName |
getServerName() |
org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType |
getServerOperationType() |
boolean |
hasMetaTableRegion() |
protected boolean |
holdLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected void |
releaseLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected void |
rollback(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
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, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
private org.apache.hadoop.hbase.ServerName serverName
public DummyServerProcedure()
public DummyServerProcedure(org.apache.hadoop.hbase.ServerName serverName)
public org.apache.hadoop.hbase.ServerName getServerName()
getServerName
in interface org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface
public boolean hasMetaTableRegion()
hasMetaTableRegion
in interface org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface
public org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType getServerOperationType()
getServerOperationType
in interface org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface
protected org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>[] execute(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) throws org.apache.hadoop.hbase.procedure2.ProcedureYieldException, org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, InterruptedException
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
InterruptedException
protected org.apache.hadoop.hbase.procedure2.Procedure.LockState acquireLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
acquireLock
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
protected void releaseLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
releaseLock
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
protected boolean holdLock(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
holdLock
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
protected void rollback(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) throws IOException, InterruptedException
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
IOException
InterruptedException
protected boolean abort(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
abort
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
protected void serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
serializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
IOException
protected void deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) throws IOException
deserializeStateData
in class org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.