Class RpcGatewayRetriever<F extends Serializable,T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>>
java.lang.Object
org.apache.flink.runtime.webmonitor.retriever.LeaderRetriever
org.apache.flink.runtime.webmonitor.retriever.LeaderGatewayRetriever<T>
org.apache.flink.runtime.webmonitor.retriever.impl.RpcGatewayRetriever<F,T>
- Type Parameters:
F- type of the fencing tokenT- type of the fenced gateway to retrieve
- All Implemented Interfaces:
LeaderRetrievalListener,GatewayRetriever<T>
public class RpcGatewayRetriever<F extends Serializable,T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>>
extends LeaderGatewayRetriever<T>
LeaderGatewayRetriever implementation using the RpcService.-
Field Summary
Fields inherited from class org.apache.flink.runtime.webmonitor.retriever.LeaderRetriever
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<T>createGateway(CompletableFuture<org.apache.flink.api.java.tuple.Tuple2<String, UUID>> leaderFuture) Methods inherited from class org.apache.flink.runtime.webmonitor.retriever.LeaderGatewayRetriever
getFuture, notifyNewLeaderAddressMethods inherited from class org.apache.flink.runtime.webmonitor.retriever.LeaderRetriever
getLeaderFuture, getLeaderNow, handleError, notifyLeaderAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever
getNow
-
Constructor Details
-
RpcGatewayRetriever
-
-
Method Details
-
createGateway
protected CompletableFuture<T> createGateway(CompletableFuture<org.apache.flink.api.java.tuple.Tuple2<String, UUID>> leaderFuture) - Specified by:
createGatewayin classLeaderGatewayRetriever<T extends org.apache.flink.runtime.rpc.FencedRpcGateway<F>>
-