Uses of Class
io.grpc.LoadBalancer.Subchannel
Packages that use LoadBalancer.Subchannel
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
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.SubchannelModifier and TypeFieldDescriptionprivate final LoadBalancer.Subchannel
LoadBalancer.PickResult.subchannel
Methods in io.grpc that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionLoadBalancer.Helper.createSubchannel
(LoadBalancer.CreateSubchannelArgs args) Creates a Subchannel, which is a logical connection to the given group of addresses which are considered equivalent.LoadBalancer.PickResult.getSubchannel()
The Subchannel if this result was created bywithSubchannel()
, or null otherwise.Methods in io.grpc with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescriptionvoid
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.SubchannelModifierConstructorDescriptionprivate
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.SubchannelModifier and TypeFieldDescription(package private) final LoadBalancer.Subchannel
CachedSubchannelPool.CacheEntry.subchannel
private final LoadBalancer.Subchannel
CachedSubchannelPool.ShutdownSubchannelTask.subchannel
(package private) final LoadBalancer.Subchannel
GrpclbState.BackendEntry.subchannel
private final LoadBalancer.Subchannel
GrpclbState.IdleSubchannelEntry.subchannel
Fields in io.grpc.grpclb with type parameters of type LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate Map
<List<EquivalentAddressGroup>, LoadBalancer.Subchannel> GrpclbState.subchannels
Methods in io.grpc.grpclb that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionCachedSubchannelPool.takeOrCreateSubchannel
(EquivalentAddressGroup eag, Attributes defaultAttributes) 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.SubchannelModifier and TypeMethodDescription(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.SubchannelModifierConstructorDescription(package private)
BackendEntry
(LoadBalancer.Subchannel subchannel) For ROUND_ROBIN/PICK_FIRST: creates a BackendEntry whose usage will not be reported.(package private)
BackendEntry
(LoadBalancer.Subchannel subchannel, GrpclbClientLoadRecorder loadRecorder, String token) For ROUND_ROBIN: creates a BackendEntry whose usage will be reported to load recorder.(package private)
BackendEntry
(LoadBalancer.Subchannel subchannel, TokenAttachingTracerFactory tracerFactory) For PICK_FIRST: creates a BackendEntry that includes all addresses.(package private)
CacheEntry
(LoadBalancer.Subchannel subchannel, SynchronizationContext.ScheduledHandle shutdownTimer, ConnectivityStateInfo state) (package private)
IdleSubchannelEntry
(LoadBalancer.Subchannel subchannel, SynchronizationContext syncContext) private
ShutdownSubchannelTask
(LoadBalancer.Subchannel subchannel) -
Uses of LoadBalancer.Subchannel in io.grpc.internal
Subclasses of LoadBalancer.Subchannel in io.grpc.internalModifier and TypeClassDescription(package private) class
The base interface of the Subchannels returned byLoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs)
.private final class
Fields in io.grpc.internal declared as LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate final LoadBalancer.Subchannel
PickFirstLeafLoadBalancer.SubchannelData.subchannel
private final LoadBalancer.Subchannel
PickFirstLoadBalancer.RequestConnectionPicker.subchannel
private LoadBalancer.Subchannel
PickFirstLoadBalancer.subchannel
Methods in io.grpc.internal that return LoadBalancer.SubchannelModifier and TypeMethodDescription(package private) LoadBalancer.Subchannel
OobChannel.getSubchannel()
PickFirstLeafLoadBalancer.SubchannelData.getSubchannel()
Methods in io.grpc.internal with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescriptionprivate 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.SubchannelModifierConstructorDescription(package private)
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.servicesModifier and TypeClassDescription(package private) static final class
Fields in io.grpc.protobuf.services declared as LoadBalancer.SubchannelModifier and TypeFieldDescription(package private) final LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.SubchannelImpl.delegate
private LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.HealthCheckState.subchannel
Methods in io.grpc.protobuf.services that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionHealthCheckingLoadBalancerFactory.HelperImpl.createSubchannel
(LoadBalancer.CreateSubchannelArgs args) protected LoadBalancer.Subchannel
HealthCheckingLoadBalancerFactory.SubchannelImpl.delegate()
Methods in io.grpc.protobuf.services with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescription(package private) void
HealthCheckingLoadBalancerFactory.HealthCheckState.setSubchannel
(LoadBalancer.Subchannel subchannel) Constructors in io.grpc.protobuf.services with parameters of type LoadBalancer.SubchannelModifierConstructorDescription(package private)
SubchannelImpl
(LoadBalancer.Subchannel delegate, HealthCheckingLoadBalancerFactory.HealthCheckState hcState) -
Uses of LoadBalancer.Subchannel in io.grpc.util
Subclasses of LoadBalancer.Subchannel in io.grpc.utilModifier and TypeClassDescriptionclass
(package private) static final class
(package private) class
Fields in io.grpc.util declared as LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate final LoadBalancer.Subchannel
HealthProducerHelper.HealthProducerSubchannel.delegate
private final LoadBalancer.Subchannel
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.delegate
Methods in io.grpc.util that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionForwardingLoadBalancerHelper.createSubchannel
(LoadBalancer.CreateSubchannelArgs args) HealthProducerHelper.createSubchannel
(LoadBalancer.CreateSubchannelArgs args) OutlierDetectionLoadBalancer.ChildHelper.createSubchannel
(LoadBalancer.CreateSubchannelArgs args) protected abstract LoadBalancer.Subchannel
ForwardingSubchannel.delegate()
Returns the underlying Subchannel.HealthProducerHelper.HealthProducerSubchannel.delegate()
protected LoadBalancer.Subchannel
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.delegate()
Methods in io.grpc.util with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescriptionvoid
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.SubchannelModifierConstructorDescription(package private)
HealthProducerSubchannel
(LoadBalancer.Subchannel delegate, LoadBalancer.SubchannelStateListener healthListener)