Uses of Class
io.grpc.LoadBalancer.Subchannel
-
Packages that use LoadBalancer.Subchannel Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of LoadBalancer.Subchannel in io.grpc
Fields in io.grpc declared as LoadBalancer.Subchannel Modifier and Type Field Description private LoadBalancer.Subchannel
LoadBalancer.PickResult. subchannel
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.Constructors in io.grpc with parameters of type LoadBalancer.Subchannel Constructor Description PickResult(LoadBalancer.Subchannel subchannel, ClientStreamTracer.Factory streamTracerFactory, Status status, boolean drop)
-
Uses of LoadBalancer.Subchannel in io.grpc.grpclb
Fields in io.grpc.grpclb declared as LoadBalancer.Subchannel Modifier and Type Field Description (package private) LoadBalancer.Subchannel
CachedSubchannelPool.CacheEntry. subchannel
private LoadBalancer.Subchannel
CachedSubchannelPool.ShutdownSubchannelTask. subchannel
(package private) LoadBalancer.Subchannel
GrpclbState.BackendEntry. subchannel
private LoadBalancer.Subchannel
GrpclbState.IdleSubchannelEntry. subchannel
Fields in io.grpc.grpclb with type parameters of type LoadBalancer.Subchannel Modifier and Type Field Description private java.util.Map<java.util.List<EquivalentAddressGroup>,LoadBalancer.Subchannel>
GrpclbState. subchannels
Methods in io.grpc.grpclb that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.Subchannel
CachedSubchannelPool. takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes)
LoadBalancer.Subchannel
SubchannelPool. takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes)
Takes aLoadBalancer.Subchannel
from the pool for the giveneag
if there is one available.Methods in io.grpc.grpclb with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description (package private) void
GrpclbState. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState)
void
SubchannelPool.PooledSubchannelStateListener. onSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState)
Handles a state change on a Subchannel.void
CachedSubchannelPool. returnSubchannel(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo lastKnownState)
void
SubchannelPool. returnSubchannel(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo lastKnownState)
Puts aLoadBalancer.Subchannel
back to the pool.private void
GrpclbState. returnSubchannelToPool(LoadBalancer.Subchannel subchannel)
private void
CachedSubchannelPool. updateCachedSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newStateInfo)
Constructors in io.grpc.grpclb with parameters of type LoadBalancer.Subchannel Constructor Description BackendEntry(LoadBalancer.Subchannel subchannel)
For ROUND_ROBIN/PICK_FIRST: creates a BackendEntry whose usage will not be reported.BackendEntry(LoadBalancer.Subchannel subchannel, GrpclbClientLoadRecorder loadRecorder, java.lang.String token)
For ROUND_ROBIN: creates a BackendEntry whose usage will be reported to load recorder.BackendEntry(LoadBalancer.Subchannel subchannel, TokenAttachingTracerFactory tracerFactory)
For PICK_FIRST: creates a BackendEntry that includes all addresses.CacheEntry(LoadBalancer.Subchannel subchannel, SynchronizationContext.ScheduledHandle shutdownTimer, ConnectivityStateInfo state)
IdleSubchannelEntry(LoadBalancer.Subchannel subchannel, SynchronizationContext syncContext)
ShutdownSubchannelTask(LoadBalancer.Subchannel subchannel)
-
Uses of LoadBalancer.Subchannel in io.grpc.internal
Subclasses of LoadBalancer.Subchannel in io.grpc.internal Modifier and Type Class Description (package private) class
AbstractSubchannel
The base interface of the Subchannels returned byLoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)
.private class
ManagedChannelImpl.SubchannelImpl
Fields in io.grpc.internal declared as LoadBalancer.Subchannel Modifier and Type Field Description private LoadBalancer.Subchannel
PickFirstLeafLoadBalancer.SubchannelData. subchannel
private LoadBalancer.Subchannel
PickFirstLoadBalancer.RequestConnectionPicker. subchannel
private LoadBalancer.Subchannel
PickFirstLoadBalancer. subchannel
Methods in io.grpc.internal that return LoadBalancer.Subchannel Modifier and Type Method Description (package private) LoadBalancer.Subchannel
OobChannel. getSubchannel()
LoadBalancer.Subchannel
PickFirstLeafLoadBalancer.SubchannelData. getSubchannel()
Methods in io.grpc.internal with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description private java.net.SocketAddress
PickFirstLeafLoadBalancer. getAddress(LoadBalancer.Subchannel subchannel)
(package private) void
AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated.private void
PickFirstLoadBalancer. processSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Constructors in io.grpc.internal with parameters of type LoadBalancer.Subchannel Constructor Description RequestConnectionPicker(LoadBalancer.Subchannel subchannel)
SubchannelData(LoadBalancer.Subchannel subchannel, ConnectivityState state)
-
Uses of LoadBalancer.Subchannel in io.grpc.protobuf.services
Subclasses of LoadBalancer.Subchannel in io.grpc.protobuf.services Modifier and Type Class Description (package private) static class
HealthCheckingLoadBalancerFactory.SubchannelImpl
Fields in io.grpc.protobuf.services declared as LoadBalancer.Subchannel Modifier and Type Field Description (package private) LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.SubchannelImpl. delegate
private LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.HealthCheckState. subchannel
Methods in io.grpc.protobuf.services that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.HelperImpl. createSubchannel(LoadBalancer.CreateSubchannelArgs args)
protected LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.SubchannelImpl. delegate()
Methods in io.grpc.protobuf.services with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description (package private) void
HealthCheckingLoadBalancerFactory.HealthCheckState. setSubchannel(LoadBalancer.Subchannel subchannel)
Constructors in io.grpc.protobuf.services with parameters of type LoadBalancer.Subchannel Constructor Description SubchannelImpl(LoadBalancer.Subchannel delegate, HealthCheckingLoadBalancerFactory.HealthCheckState hcState)
-
Uses of LoadBalancer.Subchannel in io.grpc.util
Subclasses of LoadBalancer.Subchannel in io.grpc.util Modifier and Type Class Description class
ForwardingSubchannel
(package private) static class
HealthProducerHelper.HealthProducerSubchannel
(package private) class
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel
Fields in io.grpc.util declared as LoadBalancer.Subchannel Modifier and Type Field Description private LoadBalancer.Subchannel
HealthProducerHelper.HealthProducerSubchannel. delegate
private LoadBalancer.Subchannel
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel. delegate
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)
LoadBalancer.Subchannel
OutlierDetectionLoadBalancer.ChildHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)
protected abstract LoadBalancer.Subchannel
ForwardingSubchannel. delegate()
Returns the underlying Subchannel.LoadBalancer.Subchannel
HealthProducerHelper.HealthProducerSubchannel. delegate()
protected LoadBalancer.Subchannel
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel. delegate()
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.Constructors in io.grpc.util with parameters of type LoadBalancer.Subchannel Constructor Description HealthProducerSubchannel(LoadBalancer.Subchannel delegate, LoadBalancer.SubchannelStateListener healthListener)
-