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.SubchannelLoadBalancer.PickResult. subchannelMethods in io.grpc that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.SubchannelLoadBalancer.Helper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)Creates a Subchannel, which is a logical connection to the given group of addresses which are considered equivalent.LoadBalancer.SubchannelLoadBalancer.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 voidLoadBalancer. 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.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.SubchannelCachedSubchannelPool.CacheEntry. subchannelprivate LoadBalancer.SubchannelCachedSubchannelPool.ShutdownSubchannelTask. subchannel(package private) LoadBalancer.SubchannelGrpclbState.BackendEntry. subchannelprivate LoadBalancer.SubchannelGrpclbState.IdleSubchannelEntry. subchannelFields 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. subchannelsMethods in io.grpc.grpclb that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.SubchannelCachedSubchannelPool. takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes)LoadBalancer.SubchannelSubchannelPool. 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.Subchannel Modifier and Type Method Description (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.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) classAbstractSubchannelThe base interface of the Subchannels returned byLoadBalancer.Helper.createSubchannel(io.grpc.LoadBalancer.CreateSubchannelArgs).private classManagedChannelImpl.SubchannelImplFields in io.grpc.internal declared as LoadBalancer.Subchannel Modifier and Type Field Description private LoadBalancer.SubchannelPickFirstLeafLoadBalancer.SubchannelData. subchannelprivate LoadBalancer.SubchannelPickFirstLoadBalancer.RequestConnectionPicker. subchannelprivate LoadBalancer.SubchannelPickFirstLoadBalancer. subchannelMethods in io.grpc.internal that return LoadBalancer.Subchannel Modifier and Type Method Description (package private) LoadBalancer.SubchannelOobChannel. getSubchannel()LoadBalancer.SubchannelPickFirstLeafLoadBalancer.SubchannelData. getSubchannel()Methods in io.grpc.internal with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description private java.net.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.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 classHealthCheckingLoadBalancerFactory.SubchannelImplFields in io.grpc.protobuf.services declared as LoadBalancer.Subchannel Modifier and Type Field Description (package private) LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.SubchannelImpl. delegateprivate LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.HealthCheckState. subchannelMethods in io.grpc.protobuf.services that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.HelperImpl. createSubchannel(LoadBalancer.CreateSubchannelArgs args)protected LoadBalancer.SubchannelHealthCheckingLoadBalancerFactory.SubchannelImpl. delegate()Methods in io.grpc.protobuf.services with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description (package private) voidHealthCheckingLoadBalancerFactory.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 classForwardingSubchannel(package private) static classHealthProducerHelper.HealthProducerSubchannel(package private) classOutlierDetectionLoadBalancer.OutlierDetectionSubchannelFields in io.grpc.util declared as LoadBalancer.Subchannel Modifier and Type Field Description private LoadBalancer.SubchannelHealthProducerHelper.HealthProducerSubchannel. delegateprivate LoadBalancer.SubchannelOutlierDetectionLoadBalancer.OutlierDetectionSubchannel. delegateMethods in io.grpc.util that return LoadBalancer.Subchannel Modifier and Type Method Description LoadBalancer.SubchannelForwardingLoadBalancerHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)LoadBalancer.SubchannelHealthProducerHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)LoadBalancer.SubchannelOutlierDetectionLoadBalancer.ChildHelper. createSubchannel(LoadBalancer.CreateSubchannelArgs args)protected abstract LoadBalancer.SubchannelForwardingSubchannel. delegate()Returns the underlying Subchannel.LoadBalancer.SubchannelHealthProducerHelper.HealthProducerSubchannel. delegate()protected LoadBalancer.SubchannelOutlierDetectionLoadBalancer.OutlierDetectionSubchannel. delegate()Methods in io.grpc.util with parameters of type LoadBalancer.Subchannel Modifier and Type Method Description voidForwardingLoadBalancer. 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.Subchannel Constructor Description HealthProducerSubchannel(LoadBalancer.Subchannel delegate, LoadBalancer.SubchannelStateListener healthListener)
-