public class RpcMetricQueryServiceRetriever extends Object implements MetricQueryServiceRetriever
MetricQueryServiceRetriever implementation for rpc based MetricQueryService.| Constructor and Description |
|---|
RpcMetricQueryServiceRetriever(RpcService rpcService) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MetricQueryServiceGateway> |
retrieveService(String rpcServiceAddress)
Retrieves for the given query service address a
MetricQueryServiceGateway. |
public RpcMetricQueryServiceRetriever(RpcService rpcService)
public CompletableFuture<MetricQueryServiceGateway> retrieveService(String rpcServiceAddress)
MetricQueryServiceRetrieverMetricQueryServiceGateway.retrieveService in interface MetricQueryServiceRetrieverrpcServiceAddress - under which the QueryService can be reachedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.