Class RpcMetricQueryServiceRetriever
java.lang.Object
org.apache.flink.runtime.webmonitor.retriever.impl.RpcMetricQueryServiceRetriever
- All Implemented Interfaces:
MetricQueryServiceRetriever
MetricQueryServiceRetriever implementation for rpc based MetricQueryService.-
Constructor Summary
ConstructorsConstructorDescriptionRpcMetricQueryServiceRetriever(org.apache.flink.runtime.rpc.RpcService rpcService) -
Method Summary
Modifier and TypeMethodDescriptionretrieveService(String rpcServiceAddress) Retrieves for the given query service address aMetricQueryServiceGateway.
-
Constructor Details
-
RpcMetricQueryServiceRetriever
public RpcMetricQueryServiceRetriever(org.apache.flink.runtime.rpc.RpcService rpcService)
-
-
Method Details
-
retrieveService
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
-