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>
LeaderGatewayRetrieverimplementation using theRpcService.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.runtime.webmonitor.retriever.LeaderRetriever
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, notifyNewLeaderAddress
-
Methods inherited from class org.apache.flink.runtime.webmonitor.retriever.LeaderRetriever
getLeaderFuture, getLeaderNow, handleError, notifyLeaderAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever
getNow
-
-
-
-
Method Detail
-
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>>
-
-