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)
MetricQueryServiceRetriever
MetricQueryServiceGateway
.retrieveService
in interface MetricQueryServiceRetriever
rpcServiceAddress
- under which the QueryService can be reachedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.