| Package | Description |
|---|---|
| org.apache.flink.runtime.rpc |
| Modifier and Type | Method and Description |
|---|---|
RpcService |
RpcSystem.RpcServiceBuilder.createAndStart() |
static RpcService |
RpcUtils.createRemoteRpcService(RpcSystem rpcSystem,
org.apache.flink.configuration.Configuration configuration,
String externalAddress,
String externalPortRange,
String bindAddress,
Optional<Integer> bindPort)
Convenient shortcut for constructing a remote RPC Service that takes care of checking for
null and empty optionals.
|
RpcService |
RpcEndpoint.getRpcService()
Gets the endpoint's RPC service.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
RpcUtils.getHostname(RpcService rpcService)
Returns the hostname onto which the given
RpcService has been bound. |
static void |
RpcUtils.terminateRpcService(RpcService... rpcServices)
Shuts the given rpc services down and waits for their termination.
|
| Constructor and Description |
|---|
FencedRpcEndpoint(RpcService rpcService,
F fencingToken) |
FencedRpcEndpoint(RpcService rpcService,
String endpointId,
F fencingToken) |
RpcEndpoint(RpcService rpcService)
Initializes the RPC endpoint with a random endpoint id.
|
RpcEndpoint(RpcService rpcService,
String endpointId)
Initializes the RPC endpoint.
|
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.