public static interface RemoteProcedureDispatcher.RemoteProcedure<TEnv,TRemote>
Modifier and Type | Method and Description |
---|---|
RemoteProcedureDispatcher.RemoteOperation |
remoteCallBuild(TEnv env,
TRemote remote)
For building the remote operation.
|
boolean |
remoteCallFailed(TEnv env,
TRemote remote,
IOException exception)
Called when the executeProcedure call is failed.
|
void |
remoteOperationCompleted(TEnv env)
Called when RS tells the remote procedure is succeeded through the
reportProcedureDone method. |
void |
remoteOperationFailed(TEnv env,
RemoteProcedureException error)
Called when RS tells the remote procedure is failed through the
reportProcedureDone
method. |
default boolean |
storeInDispatchedQueue()
Whether store this remote procedure in dispatched queue
only OpenRegionProcedure and CloseRegionProcedure return false since they are
not fully controlled by dispatcher
|
RemoteProcedureDispatcher.RemoteOperation remoteCallBuild(TEnv env, TRemote remote)
boolean remoteCallFailed(TEnv env, TRemote remote, IOException exception)
void remoteOperationCompleted(TEnv env)
reportProcedureDone
method.void remoteOperationFailed(TEnv env, RemoteProcedureException error)
reportProcedureDone
method.default boolean storeInDispatchedQueue()
Copyright © 2007–2019 Cloudera. All rights reserved.