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.SubchannelLoadBalancer.PickResult.subchannelMethods 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 TypeMethodDescriptionvoidLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.This method will be removed.static LoadBalancer.PickResultLoadBalancer.PickResult.withSubchannel(LoadBalancer.Subchannel subchannel) Equivalent towithSubchannel(subchannel, null).static LoadBalancer.PickResultLoadBalancer.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.SubchannelModifierConstructorDescriptionprivatePickResult(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.SubchannelCachedSubchannelPool.CacheEntry.subchannelprivate final LoadBalancer.SubchannelCachedSubchannelPool.ShutdownSubchannelTask.subchannel(package private) final LoadBalancer.SubchannelGrpclbState.BackendEntry.subchannelprivate final LoadBalancer.SubchannelGrpclbState.IdleSubchannelEntry.subchannelFields in io.grpc.grpclb with type parameters of type LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate Map<List<EquivalentAddressGroup>, LoadBalancer.Subchannel> GrpclbState.subchannelsMethods in io.grpc.grpclb that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionCachedSubchannelPool.takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes) SubchannelPool.takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes) Takes aLoadBalancer.Subchannelfrom the pool for the giveneagif there is one available.Methods in io.grpc.grpclb with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescription(package private) voidGrpclbState.handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState) voidSubchannelPool.PooledSubchannelStateListener.onSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState) Handles a state change on a Subchannel.voidCachedSubchannelPool.returnSubchannel(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo lastKnownState) voidSubchannelPool.returnSubchannel(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo lastKnownState) Puts aLoadBalancer.Subchannelback to the pool.private voidGrpclbState.returnSubchannelToPool(LoadBalancer.Subchannel subchannel) private voidCachedSubchannelPool.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) privateShutdownSubchannelTask(LoadBalancer.Subchannel subchannel) -
Uses of LoadBalancer.Subchannel in io.grpc.internal
Subclasses of LoadBalancer.Subchannel in io.grpc.internalModifier and TypeClassDescription(package private) classThe base interface of the Subchannels returned byLoadBalancer.Helper.createSubchannel(LoadBalancer.CreateSubchannelArgs).private final classFields in io.grpc.internal declared as LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate final LoadBalancer.SubchannelPickFirstLeafLoadBalancer.SubchannelData.subchannelprivate final LoadBalancer.SubchannelPickFirstLoadBalancer.RequestConnectionPicker.subchannelprivate LoadBalancer.SubchannelPickFirstLoadBalancer.subchannelMethods in io.grpc.internal that return LoadBalancer.SubchannelModifier and TypeMethodDescription(package private) LoadBalancer.SubchannelOobChannel.getSubchannel()PickFirstLeafLoadBalancer.SubchannelData.getSubchannel()Methods in io.grpc.internal with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescriptionprivate SocketAddressPickFirstLeafLoadBalancer.getAddress(LoadBalancer.Subchannel subchannel) (package private) voidAutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.private voidPickFirstLoadBalancer.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 classFields in io.grpc.protobuf.services declared as LoadBalancer.SubchannelModifier and TypeFieldDescription(package private) final LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.SubchannelImpl.delegateprivate LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.HealthCheckState.subchannelMethods in io.grpc.protobuf.services that return LoadBalancer.SubchannelModifier and TypeMethodDescriptionHealthCheckingLoadBalancerFactory.HelperImpl.createSubchannel(LoadBalancer.CreateSubchannelArgs args) protected LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.SubchannelImpl.delegate()Methods in io.grpc.protobuf.services with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescription(package private) voidHealthCheckingLoadBalancerFactory.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) classFields in io.grpc.util declared as LoadBalancer.SubchannelModifier and TypeFieldDescriptionprivate final LoadBalancer.SubchannelHealthProducerHelper.HealthProducerSubchannel.delegateprivate final LoadBalancer.SubchannelOutlierDetectionLoadBalancer.OutlierDetectionSubchannel.delegateMethods 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.SubchannelForwardingSubchannel.delegate()Returns the underlying Subchannel.HealthProducerHelper.HealthProducerSubchannel.delegate()protected LoadBalancer.SubchannelOutlierDetectionLoadBalancer.OutlierDetectionSubchannel.delegate()Methods in io.grpc.util with parameters of type LoadBalancer.SubchannelModifier and TypeMethodDescriptionvoidForwardingLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.voidGracefulSwitchLoadBalancer.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)