private static class TestServerRemoteProcedure.NoopServerRemoteProcedure extends org.apache.hadoop.hbase.master.procedure.ServerRemoteProcedure implements org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface
Constructor and Description |
---|
NoopServerRemoteProcedure(org.apache.hadoop.hbase.ServerName targetServer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
void |
complete(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
Throwable error) |
protected void |
deserializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
org.apache.hadoop.hbase.ServerName |
getServerName() |
org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType |
getServerOperationType() |
boolean |
hasMetaTableRegion() |
Optional<org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteOperation> |
remoteCallBuild(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.ServerName serverName) |
void |
remoteOperationCompleted(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
void |
remoteOperationFailed(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env,
org.apache.hadoop.hbase.procedure2.RemoteProcedureException error) |
protected void |
rollback(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env) |
protected void |
serializeStateData(org.apache.hadoop.hbase.procedure2.ProcedureStateSerializer serializer) |
completionCleanup, execute, remoteCallFailed, remoteOperationDone
acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, 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, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, releaseLock, 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
public NoopServerRemoteProcedure(org.apache.hadoop.hbase.ServerName targetServer)
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
public Optional<org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteOperation> remoteCallBuild(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.ServerName serverName)
remoteCallBuild
in interface org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv,org.apache.hadoop.hbase.ServerName>
public void remoteOperationCompleted(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env)
remoteOperationCompleted
in interface org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv,org.apache.hadoop.hbase.ServerName>
remoteOperationCompleted
in class org.apache.hadoop.hbase.master.procedure.ServerRemoteProcedure
public void remoteOperationFailed(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.procedure2.RemoteProcedureException error)
remoteOperationFailed
in interface org.apache.hadoop.hbase.procedure2.RemoteProcedureDispatcher.RemoteProcedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv,org.apache.hadoop.hbase.ServerName>
remoteOperationFailed
in class org.apache.hadoop.hbase.master.procedure.ServerRemoteProcedure
public void complete(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, Throwable error)
complete
in class org.apache.hadoop.hbase.master.procedure.ServerRemoteProcedure
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
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.