Package io.grpc
Class LoadBalancer.PickSubchannelArgs
- java.lang.Object
- 
- io.grpc.LoadBalancer.PickSubchannelArgs
 
- 
- Enclosing class:
- LoadBalancer
 
 @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1771") public abstract static class LoadBalancer.PickSubchannelArgs extends Object Provides arguments for aLoadBalancer.SubchannelPicker.pickSubchannel( LoadBalancer.PickSubchannelArgs).- Since:
- 1.2.0
 
- 
- 
Constructor SummaryConstructors Constructor Description PickSubchannelArgs()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CallOptionsgetCallOptions()Call options.abstract MetadatagetHeaders()Headers of the call.abstract MethodDescriptor<?,?>getMethodDescriptor()Call method.LoadBalancer.PickDetailsConsumergetPickDetailsConsumer()Gets an object that can be informed about what sort of pick was made.
 
- 
- 
- 
Method Detail- 
getCallOptionspublic abstract CallOptions getCallOptions() Call options.- Since:
- 1.2.0
 
 - 
getHeaderspublic abstract Metadata getHeaders() Headers of the call.LoadBalancer.SubchannelPicker.pickSubchannel(io.grpc.LoadBalancer.PickSubchannelArgs)may mutate it before before returning.- Since:
- 1.2.0
 
 - 
getMethodDescriptorpublic abstract MethodDescriptor<?,?> getMethodDescriptor() Call method.- Since:
- 1.2.0
 
 - 
getPickDetailsConsumer@Internal public LoadBalancer.PickDetailsConsumer getPickDetailsConsumer() Gets an object that can be informed about what sort of pick was made.
 
- 
 
-