@InterfaceAudience.Private public class SyncReplicationReplayWALRemoteProcedure extends ServerRemoteProcedure implements PeerProcedureInterface
Procedure.LockStatePeerProcedureInterface.PeerOperationTypedispatched, event, succ, targetServerNO_PROC_ID, NO_TIMEOUT| Constructor and Description |
|---|
SyncReplicationReplayWALRemoteProcedure() |
SyncReplicationReplayWALRemoteProcedure(String peerId,
List<String> wals,
ServerName targetServer) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
abort(MasterProcedureEnv env) |
protected void |
complete(MasterProcedureEnv env,
Throwable error) |
protected void |
deserializeStateData(ProcedureStateSerializer serializer) |
String |
getPeerId() |
PeerProcedureInterface.PeerOperationType |
getPeerOperationType() |
Optional<RemoteProcedureDispatcher.RemoteOperation> |
remoteCallBuild(MasterProcedureEnv env,
ServerName remote) |
protected void |
rollback(MasterProcedureEnv env) |
protected void |
serializeStateData(ProcedureStateSerializer serializer) |
completionCleanup, execute, remoteCallFailed, remoteOperationCompleted, remoteOperationFailedacquireLock, 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, wasExecutedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstoreInDispatchedQueuepublic SyncReplicationReplayWALRemoteProcedure()
public SyncReplicationReplayWALRemoteProcedure(String peerId, List<String> wals, ServerName targetServer)
public Optional<RemoteProcedureDispatcher.RemoteOperation> remoteCallBuild(MasterProcedureEnv env, ServerName remote)
remoteCallBuild in interface RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>protected void complete(MasterProcedureEnv env, Throwable error)
complete in class ServerRemoteProcedureprotected void rollback(MasterProcedureEnv env) throws IOException, InterruptedException
rollback in class Procedure<MasterProcedureEnv>IOExceptionInterruptedExceptionprotected boolean abort(MasterProcedureEnv env)
abort in class Procedure<MasterProcedureEnv>protected void serializeStateData(ProcedureStateSerializer serializer) throws IOException
serializeStateData in class Procedure<MasterProcedureEnv>IOExceptionprotected void deserializeStateData(ProcedureStateSerializer serializer) throws IOException
deserializeStateData in class Procedure<MasterProcedureEnv>IOExceptionpublic String getPeerId()
getPeerId in interface PeerProcedureInterfacepublic PeerProcedureInterface.PeerOperationType getPeerOperationType()
getPeerOperationType in interface PeerProcedureInterfaceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.