Uses of Class
io.grpc.ConnectivityStateInfo
Packages that use ConnectivityStateInfo
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 ConnectivityStateInfo in io.grpc
Methods in io.grpc that return ConnectivityStateInfoModifier and TypeMethodDescriptionstatic ConnectivityStateInfo
ConnectivityStateInfo.forNonError
(ConnectivityState state) Returns an instance for a state that is notTRANSIENT_FAILURE
.static ConnectivityStateInfo
ConnectivityStateInfo.forTransientFailure
(Status error) Returns an instance forTRANSIENT_FAILURE
, associated with an error status.Methods in io.grpc with parameters of type ConnectivityStateInfoModifier and TypeMethodDescriptionvoid
LoadBalancer.handleSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.This method will be removed.void
LoadBalancer.SubchannelStateListener.onSubchannelState
(ConnectivityStateInfo newState) Handles a state change on a Subchannel. -
Uses of ConnectivityStateInfo in io.grpc.grpclb
Fields in io.grpc.grpclb declared as ConnectivityStateInfoModifier and TypeFieldDescription(package private) ConnectivityStateInfo
CachedSubchannelPool.CacheEntry.state
Fields in io.grpc.grpclb with type parameters of type ConnectivityStateInfoModifier and TypeFieldDescriptionprivate static final Attributes.Key
<AtomicReference<ConnectivityStateInfo>> GrpclbState.STATE_INFO
Methods in io.grpc.grpclb with parameters of type ConnectivityStateInfoModifier 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
CachedSubchannelPool.updateCachedSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newStateInfo) Constructors in io.grpc.grpclb with parameters of type ConnectivityStateInfoModifierConstructorDescription(package private)
CacheEntry
(LoadBalancer.Subchannel subchannel, SynchronizationContext.ScheduledHandle shutdownTimer, ConnectivityStateInfo state) -
Uses of ConnectivityStateInfo in io.grpc.internal
Fields in io.grpc.internal declared as ConnectivityStateInfoModifier and TypeFieldDescriptionprivate ConnectivityStateInfo
PickFirstLeafLoadBalancer.SubchannelData.healthStateInfo
private ConnectivityStateInfo
InternalSubchannel.state
Methods in io.grpc.internal with parameters of type ConnectivityStateInfoModifier and TypeMethodDescriptionprivate void
InternalSubchannel.gotoState
(ConnectivityStateInfo newState) private void
ManagedChannelImpl.handleInternalSubchannelState
(ConnectivityStateInfo newState) (package private) void
AutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer.handleSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.(package private) void
OobChannel.handleSubchannelStateChange
(ConnectivityStateInfo newState) (package private) void
InternalSubchannel.Callback.onStateChange
(InternalSubchannel is, ConnectivityStateInfo newState) Called when the subchannel's connectivity state has changed.void
PickFirstLeafLoadBalancer.HealthListener.onSubchannelState
(ConnectivityStateInfo newState) (package private) void
PickFirstLeafLoadBalancer.processSubchannelState
(PickFirstLeafLoadBalancer.SubchannelData subchannelData, ConnectivityStateInfo stateInfo) private void
PickFirstLoadBalancer.processSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) -
Uses of ConnectivityStateInfo in io.grpc.protobuf.services
Fields in io.grpc.protobuf.services declared as ConnectivityStateInfoModifier and TypeFieldDescriptionprivate ConnectivityStateInfo
HealthCheckingLoadBalancerFactory.HealthCheckState.concludedState
private ConnectivityStateInfo
HealthCheckingLoadBalancerFactory.HealthCheckState.rawState
Methods in io.grpc.protobuf.services with parameters of type ConnectivityStateInfoModifier and TypeMethodDescriptionprivate void
HealthCheckingLoadBalancerFactory.HealthCheckState.gotoState
(ConnectivityStateInfo newState) void
HealthCheckingLoadBalancerFactory.HealthCheckState.onSubchannelState
(ConnectivityStateInfo rawState) -
Uses of ConnectivityStateInfo in io.grpc.util
Fields in io.grpc.util declared as ConnectivityStateInfoModifier and TypeFieldDescriptionprivate ConnectivityStateInfo
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.lastSubchannelState
Methods in io.grpc.util with parameters of type ConnectivityStateInfoModifier and TypeMethodDescriptionvoid
ForwardingLoadBalancer.handleSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.void
GracefulSwitchLoadBalancer.handleSubchannelState
(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo) Deprecated.void
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.OutlierDetectionSubchannelStateListener.onSubchannelState
(ConnectivityStateInfo newState)