Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(EquivalentAddressGroup addrs,
Attributes attrs)
Equivalent to
LoadBalancer.Helper.createSubchannel(List, Attributes) with the given single EquivalentAddressGroup . |
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(List<EquivalentAddressGroup> addrs,
Attributes attrs)
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 |
---|---|
abstract void |
LoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Handles a state change on a Subchannel.
|
void |
LoadBalancer.Helper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
EquivalentAddressGroup addrs)
Equivalent to
LoadBalancer.Helper.updateSubchannelAddresses(io.grpc.LoadBalancer.Subchannel, List) with
the given single EquivalentAddressGroup . |
void |
LoadBalancer.Helper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
List<EquivalentAddressGroup> addrs)
Replaces the existing addresses used with
subchannel . |
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.
|