Uses of Class
io.grpc.LoadBalancer.Subchannel
-
Packages that use LoadBalancer.Subchannel 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 -
-
Uses of LoadBalancer.Subchannel in io.grpc
Methods in io.grpc that return LoadBalancer.Subchannel Modifier and Type Method 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 bywithSubchannel()
, or null otherwise.Methods in io.grpc with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description void
LoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated.This method will be removed.static LoadBalancer.PickResult
LoadBalancer.PickResult. withSubchannel(LoadBalancer.Subchannel subchannel)
Equivalent towithSubchannel(subchannel, null)
.static LoadBalancer.PickResult
LoadBalancer.PickResult. withSubchannel(LoadBalancer.Subchannel subchannel, ClientStreamTracer.Factory streamTracerFactory)
A decision to proceed the RPC on a Subchannel.static LoadBalancer.PickResult
LoadBalancer.PickResult. withSubchannel(LoadBalancer.Subchannel subchannel, ClientStreamTracer.Factory streamTracerFactory, String authorityOverride)
Same aswithSubchannel(subchannel, streamTracerFactory)
but with an authority name to override in the host header. -
Uses of LoadBalancer.Subchannel in io.grpc.util
Subclasses of LoadBalancer.Subchannel in io.grpc.util Modifier and Type Class Description class
ForwardingSubchannel
Methods in io.grpc.util that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.Subchannel
ForwardingLoadBalancerHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)
LoadBalancer.Subchannel
HealthProducerHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)
protected abstract LoadBalancer.Subchannel
ForwardingSubchannel. delegate()
Returns the underlying Subchannel.Methods in io.grpc.util with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description void
ForwardingLoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated.void
GracefulSwitchLoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated. -
Uses of LoadBalancer.Subchannel in io.grpc.xds.orca
Methods in io.grpc.xds.orca with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description static void
OrcaOobUtil. setListener(LoadBalancer.Subchannel subchannel, OrcaOobUtil.OrcaOobReportListener listener, OrcaOobUtil.OrcaReportingConfig config)
UpdateOrcaOobUtil.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.
-