Class RpcMetricQueryServiceRetriever
- java.lang.Object
-
- org.apache.flink.runtime.webmonitor.retriever.impl.RpcMetricQueryServiceRetriever
-
- All Implemented Interfaces:
MetricQueryServiceRetriever
public class RpcMetricQueryServiceRetriever extends Object implements MetricQueryServiceRetriever
MetricQueryServiceRetrieverimplementation for rpc basedMetricQueryService.
-
-
Constructor Summary
Constructors Constructor Description RpcMetricQueryServiceRetriever(org.apache.flink.runtime.rpc.RpcService rpcService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<MetricQueryServiceGateway>retrieveService(String rpcServiceAddress)Retrieves for the given query service address aMetricQueryServiceGateway.
-
-
-
Method Detail
-
retrieveService
public CompletableFuture<MetricQueryServiceGateway> retrieveService(String rpcServiceAddress)
Description copied from interface:MetricQueryServiceRetrieverRetrieves for the given query service address aMetricQueryServiceGateway.- Specified by:
retrieveServicein interfaceMetricQueryServiceRetriever- Parameters:
rpcServiceAddress- under which the QueryService can be reached- Returns:
- Future containing the resolved QueryServiceGateway
-
-