Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.internal |
Interfaces and implementations that are internal to gRPC.
|
io.grpc.util |
Utilities with advanced features in the core layer that user can optionally use.
|
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)
Equivalent to
LoadBalancer.Helper.createSubchannel(List, Attributes) with the given single EquivalentAddressGroup . |
void |
LoadBalancer.Helper.updateOobChannelAddresses(ManagedChannel channel,
EquivalentAddressGroup eag)
Updates the addresses used for connections in the
Channel that was created by LoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String) . |
void |
LoadBalancer.Helper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
EquivalentAddressGroup addrs)
Equivalent to
LoadBalancer.Helper.updateSubchannelAddresses(io.grpc.LoadBalancer.Subchannel, List) with
the given single EquivalentAddressGroup . |
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 . |
Modifier and Type | Method and Description |
---|---|
void |
AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer.handleResolvedAddressGroups(List<EquivalentAddressGroup> servers,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
ManagedChannel |
ForwardingLoadBalancerHelper.createOobChannel(EquivalentAddressGroup eag,
String authority) |
void |
ForwardingLoadBalancerHelper.updateOobChannelAddresses(ManagedChannel channel,
EquivalentAddressGroup eag) |
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
ForwardingLoadBalancerHelper.createSubchannel(List<EquivalentAddressGroup> addrs,
Attributes attrs) |
void |
ForwardingLoadBalancer.handleResolvedAddressGroups(List<EquivalentAddressGroup> servers,
Attributes attributes) |
void |
ForwardingLoadBalancerHelper.updateSubchannelAddresses(LoadBalancer.Subchannel subchannel,
List<EquivalentAddressGroup> addrs) |
Copyright © 2019. All rights reserved.