| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.jraft.rpc | |
| com.alipay.sofa.jraft.rpc.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcClient.invokeAsync(Endpoint endpoint,
Object request,
InvokeContext ctx,
InvokeCallback callback,
long timeoutMs)
Asynchronous invocation with a callback.
|
Object |
RpcClient.invokeSync(Endpoint endpoint,
Object request,
InvokeContext ctx,
long timeoutMs)
Synchronous invocation using a invoke context.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BoltRpcClient.invokeAsync(Endpoint endpoint,
Object request,
InvokeContext ctx,
InvokeCallback callback,
long timeoutMs) |
Object |
BoltRpcClient.invokeSync(Endpoint endpoint,
Object request,
InvokeContext ctx,
long timeoutMs) |
<T extends com.google.protobuf.Message> |
AbstractClientService.invokeWithDone(Endpoint endpoint,
com.google.protobuf.Message request,
InvokeContext ctx,
RpcResponseClosure<T> done,
int timeoutMs) |
<T extends com.google.protobuf.Message> |
AbstractClientService.invokeWithDone(Endpoint endpoint,
com.google.protobuf.Message request,
InvokeContext ctx,
RpcResponseClosure<T> done,
int timeoutMs,
Executor rpcExecutor) |
Copyright © 2021. All rights reserved.