Class ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub>
io.envoyproxy.envoy.service.cluster.v3.ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub
- Enclosing class:
- ClusterDiscoveryServiceGrpc
public static final class ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ClusterDiscoveryService.
Return list of all clusters this proxy will load balance to.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse>fetchClusters(DiscoveryRequest request) Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceFutureStub>
-
fetchClusters
public com.google.common.util.concurrent.ListenableFuture<DiscoveryResponse> fetchClusters(DiscoveryRequest request)
-