Package io.grpc.lb.v1
Class LoadBalancerGrpc.LoadBalancerFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<LoadBalancerGrpc.LoadBalancerFutureStub>
io.grpc.stub.AbstractFutureStub<LoadBalancerGrpc.LoadBalancerFutureStub>
io.grpc.lb.v1.LoadBalancerGrpc.LoadBalancerFutureStub
- Enclosing class:
LoadBalancerGrpc
public static final class LoadBalancerGrpc.LoadBalancerFutureStub
extends AbstractFutureStub<LoadBalancerGrpc.LoadBalancerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service LoadBalancer.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
AbstractStub.StubFactory<T extends AbstractStub<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLoadBalancerFutureStub(Channel channel, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected LoadBalancerGrpc.LoadBalancerFutureStubbuild(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.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, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
LoadBalancerFutureStub
-
-
Method Details
-
build
Description copied from class:AbstractStubReturns a new stub with the given channel for the provided method configurations.- Specified by:
buildin classAbstractStub<LoadBalancerGrpc.LoadBalancerFutureStub>- Parameters:
channel- the channel that this stub will use to do communicationscallOptions- the runtime call options to be applied to every call on this stub
-