Package io.grpc.lb.v1
Class LoadBalancerGrpc.LoadBalancerBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<LoadBalancerGrpc.LoadBalancerBlockingV2Stub>
-
- io.grpc.lb.v1.LoadBalancerGrpc.LoadBalancerBlockingV2Stub
-
- Enclosing class:
- LoadBalancerGrpc
public static final class LoadBalancerGrpc.LoadBalancerBlockingV2Stub extends AbstractBlockingStub<LoadBalancerGrpc.LoadBalancerBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service LoadBalancer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
AbstractStub.StubFactory<T extends AbstractStub<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockingClientCall<LoadBalanceRequest,LoadBalanceResponse>
balanceLoad()
Bidirectional rpc to get a list of servers.protected LoadBalancerGrpc.LoadBalancerBlockingV2Stub
build(Channel channel, CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.-
Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected LoadBalancerGrpc.LoadBalancerBlockingV2Stub build(Channel channel, CallOptions callOptions)
Description copied from class:AbstractStub
Returns a new stub with the given channel for the provided method configurations.- Specified by:
build
in classAbstractStub<LoadBalancerGrpc.LoadBalancerBlockingV2Stub>
- 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
-
balanceLoad
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public BlockingClientCall<LoadBalanceRequest,LoadBalanceResponse> balanceLoad()
Bidirectional rpc to get a list of servers.
-
-