public static interface RemoteProcedureDispatcher.RemoteProcedure<TEnv,TRemote>
Modifier and Type | Method and Description |
---|---|
Optional<RemoteProcedureDispatcher.RemoteOperation> |
remoteCallBuild(TEnv env,
TRemote remote)
For building the remote operation.
|
void |
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
|
Optional<RemoteProcedureDispatcher.RemoteOperation> remoteCallBuild(TEnv env, TRemote remote)
void 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–2020 The Apache Software Foundation. All rights reserved.