@InterfaceAudience.Private public class FlushRegionProcedure extends Procedure<MasterProcedureEnv> implements TableProcedureInterface, RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>
Procedure.LockStateTableProcedureInterface.TableOperationTypeNO_PROC_ID, NO_TIMEOUT| Constructor and Description |
|---|
FlushRegionProcedure() |
FlushRegionProcedure(RegionInfo region) |
FlushRegionProcedure(RegionInfo region,
List<byte[]> columnFamilies) |
acquireLock, 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, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecutedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstoreInDispatchedQueuepublic FlushRegionProcedure()
public FlushRegionProcedure(RegionInfo region)
public FlushRegionProcedure(RegionInfo region, List<byte[]> columnFamilies)
protected Procedure<MasterProcedureEnv>[] execute(MasterProcedureEnv env) throws ProcedureYieldException, ProcedureSuspendedException, InterruptedException
execute in class Procedure<MasterProcedureEnv>ProcedureYieldExceptionProcedureSuspendedExceptionInterruptedExceptionprotected boolean setTimeoutFailure(MasterProcedureEnv env)
setTimeoutFailure in class Procedure<MasterProcedureEnv>protected void rollback(MasterProcedureEnv env) throws IOException, InterruptedException
rollback in class Procedure<MasterProcedureEnv>IOExceptionInterruptedExceptionprotected boolean abort(MasterProcedureEnv env)
abort in class Procedure<MasterProcedureEnv>public void remoteCallFailed(MasterProcedureEnv env, ServerName serverName, IOException e)
remoteCallFailed in interface RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>public void remoteOperationCompleted(MasterProcedureEnv env)
remoteOperationCompleted in interface RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>public void remoteOperationFailed(MasterProcedureEnv env, RemoteProcedureException error)
remoteOperationFailed in interface RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>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 Optional<RemoteProcedureDispatcher.RemoteOperation> remoteCallBuild(MasterProcedureEnv env, ServerName serverName)
remoteCallBuild in interface RemoteProcedureDispatcher.RemoteProcedure<MasterProcedureEnv,ServerName>public TableProcedureInterface.TableOperationType getTableOperationType()
TableProcedureInterfacegetTableOperationType in interface TableProcedureInterfaceprotected boolean waitInitialized(MasterProcedureEnv env)
waitInitialized in class Procedure<MasterProcedureEnv>public TableName getTableName()
TableProcedureInterfacegetTableName in interface TableProcedureInterfaceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.