Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(LoadBalancer.CreateSubchannelArgs args)
Creates a Subchannel, which is a logical connection to the given group of addresses which are
considered equivalent.
|
LoadBalancer.Subchannel |
LoadBalancer.PickResult.getSubchannel()
The Subchannel if this result was created by
withSubchannel() , or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
This method will be removed. Stop overriding it. Instead, pass
LoadBalancer.SubchannelStateListener to start(io.grpc.LoadBalancer.SubchannelStateListener) to receive Subchannel state
updates |
static LoadBalancer.PickResult |
LoadBalancer.PickResult.withSubchannel(LoadBalancer.Subchannel subchannel)
Equivalent to
withSubchannel(subchannel, null) . |
static LoadBalancer.PickResult |
LoadBalancer.PickResult.withSubchannel(LoadBalancer.Subchannel subchannel,
ClientStreamTracer.Factory streamTracerFactory)
A decision to proceed the RPC on a Subchannel.
|