F - type of the fencing tokenT - type of the fenced gateway to retrievepublic class RpcGatewayRetriever<F extends Serializable,T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>> extends LeaderGatewayRetriever<T>
LeaderGatewayRetriever implementation using the RpcService.log| Constructor and Description |
|---|
RpcGatewayRetriever(org.apache.flink.runtime.rpc.RpcService rpcService,
Class<T> gatewayType,
Function<UUID,F> fencingTokenMapper,
org.apache.flink.util.concurrent.RetryStrategy retryStrategy) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<T> |
createGateway(CompletableFuture<org.apache.flink.api.java.tuple.Tuple2<String,UUID>> leaderFuture) |
getFuture, notifyNewLeaderAddressgetLeaderFuture, getLeaderNow, handleError, notifyLeaderAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNowprotected CompletableFuture<T> createGateway(CompletableFuture<org.apache.flink.api.java.tuple.Tuple2<String,UUID>> leaderFuture)
createGateway in class LeaderGatewayRetriever<T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.