| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| Modifier and Type | Method and Description |
|---|---|
EquivalentAddressGroup |
LoadBalancer.Subchannel.getAddresses()
Returns the addresses that this Subchannel is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
List<EquivalentAddressGroup> |
LoadBalancer.Subchannel.getAllAddresses()
Returns the addresses that this Subchannel is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ManagedChannel |
LoadBalancer.Helper.createOobChannel(EquivalentAddressGroup eag,
String authority)
Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external
load-balancer service.
|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(EquivalentAddressGroup addrs,
Attributes attrs)
Creates a Subchannel, which is a logical connection to the given group of addresses which are
considered equivalent.
|
void |
LoadBalancer.Helper.updateOobChannelAddresses(ManagedChannel channel,
EquivalentAddressGroup eag)
Updates the addresses used for connections in the
Channel. |
void |
LoadBalancer.Helper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
EquivalentAddressGroup addrs)
Replaces the existing addresses used with
subchannel. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
abstract void |
LoadBalancer.handleResolvedAddressGroups(List<EquivalentAddressGroup> servers,
Attributes attributes)
Handles newly resolved server groups and metadata attributes from name resolution system.
|
void |
NameResolver.Listener.onAddresses(List<EquivalentAddressGroup> servers,
Attributes attributes)
Handles updates on resolved addresses and attributes.
|
void |
LoadBalancer.Helper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
List<EquivalentAddressGroup> addrs)
Replaces the existing addresses used with
subchannel. |