Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.util |
Utilities with advanced features in the core layer that user can optionally use.
|
io.grpc.xds.orca |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ForwardingSubchannel |
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Subchannel |
ForwardingLoadBalancerHelper.createSubchannel(LoadBalancer.CreateSubchannelArgs args) |
protected abstract LoadBalancer.Subchannel |
ForwardingSubchannel.delegate()
Returns the underlying Subchannel.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<LoadBalancer.Subchannel> |
RoundRobinLoadBalancer.getSubchannels() |
Modifier and Type | Method and Description |
---|---|
void |
ForwardingLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
|
void |
GracefulSwitchLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected RoundRobinLoadBalancer.RoundRobinPicker |
RoundRobinLoadBalancer.createReadyPicker(List<LoadBalancer.Subchannel> activeList) |
Constructor and Description |
---|
ReadyPicker(List<LoadBalancer.Subchannel> list,
int startIndex) |
Modifier and Type | Method and Description |
---|---|
static void |
OrcaOobUtil.setListener(LoadBalancer.Subchannel subchannel,
OrcaOobUtil.OrcaOobReportListener listener,
OrcaOobUtil.OrcaReportingConfig config)
Update
OrcaOobUtil.OrcaOobReportListener to receive Out-of-Band metrics report for the
particular subchannel connection, and set the configuration of receiving ORCA reports,
such as the interval of receiving reports. |