@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1771") public abstract static class LoadBalancer.PickSubchannelArgs extends Object
LoadBalancer.SubchannelPicker.pickSubchannel(
LoadBalancer.PickSubchannelArgs)
.Constructor and Description |
---|
PickSubchannelArgs() |
Modifier and Type | Method and Description |
---|---|
abstract CallOptions |
getCallOptions()
Call options.
|
abstract Metadata |
getHeaders()
Headers of the call.
|
abstract MethodDescriptor<?,?> |
getMethodDescriptor()
Call method.
|
public abstract CallOptions getCallOptions()
public abstract Metadata getHeaders()
LoadBalancer.SubchannelPicker.pickSubchannel(io.grpc.LoadBalancer.PickSubchannelArgs)
may mutate it before before
returning.public abstract MethodDescriptor<?,?> getMethodDescriptor()