Class HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub>
-
- io.envoyproxy.envoy.service.health.v3.HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub
-
- Enclosing class:
- HealthDiscoveryServiceGrpc
public static final class HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub extends io.grpc.stub.AbstractFutureStub<HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub>
HDS is Health Discovery Service. It compliments Envoy’s health checking service by designating this Envoy to be a healthchecker for a subset of hosts in the cluster. The status of these health checks will be reported to the management server, where it can be aggregated etc and redistributed back to Envoy through EDS.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<HealthCheckSpecifier>fetchHealthCheck(HealthCheckRequestOrEndpointHealthResponse request)TODO(htuch): Unlike the gRPC version, there is no stream-based binding of request/response.
-
-
-
Method Detail
-
build
protected HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<HealthDiscoveryServiceGrpc.HealthDiscoveryServiceFutureStub>
-
fetchHealthCheck
public com.google.common.util.concurrent.ListenableFuture<HealthCheckSpecifier> fetchHealthCheck(HealthCheckRequestOrEndpointHealthResponse request)
TODO(htuch): Unlike the gRPC version, there is no stream-based binding of request/response. Should we add an identifier to the HealthCheckSpecifier to bind with the response?
-
-