| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.rpc |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
FencedRpcGateway<F extends Serializable>
Fenced
RpcGateway. |
interface |
RpcServer
Interface for self gateways.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
FencedRpcEndpoint<F extends Serializable>
Base class for fenced
RpcEndpoint. |
class |
RpcEndpoint
Base class for RPC endpoints.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<C extends RpcGateway> |
RpcService.connect(String address,
Class<C> clazz)
Connect to a remote rpc server under the provided address.
|
<C extends RpcGateway> |
RpcEndpoint.getSelfGateway(Class<C> selfGatewayType)
Returns a self gateway of the specified type which can be used to issue asynchronous calls
against the RpcEndpoint.
|
<C extends RpcGateway> |
RpcService.getSelfGateway(Class<C> selfGatewayType,
RpcServer rpcServer)
Returns a self gateway of the specified type which can be used to issue asynchronous calls
against the RpcEndpoint.
|
<C extends RpcEndpoint & RpcGateway> |
RpcService.startServer(C rpcEndpoint)
Start a rpc server which forwards the remote procedure calls to the provided rpc endpoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Set<Class<? extends RpcGateway>> |
RpcUtils.extractImplementedRpcGateways(Class<?> clazz)
Extracts all
RpcGateway interfaces implemented by the given clazz. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.