Uses of Class
io.grpc.ConnectivityStateInfo
-
Packages that use ConnectivityStateInfo 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 ConnectivityStateInfo in io.grpc
Methods in io.grpc that return ConnectivityStateInfo Modifier and Type Method Description static 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 ConnectivityStateInfo Modifier and Type Method Description void
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 ConnectivityStateInfo Modifier and Type Field Description (package private) ConnectivityStateInfo
CachedSubchannelPool.CacheEntry. state
Fields in io.grpc.grpclb with type parameters of type ConnectivityStateInfo Modifier and Type Field Description private static Attributes.Key<java.util.concurrent.atomic.AtomicReference<ConnectivityStateInfo>>
GrpclbState. STATE_INFO
Methods in io.grpc.grpclb with parameters of type ConnectivityStateInfo 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
CachedSubchannelPool. updateCachedSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newStateInfo)
Constructors in io.grpc.grpclb with parameters of type ConnectivityStateInfo Constructor Description CacheEntry(LoadBalancer.Subchannel subchannel, SynchronizationContext.ScheduledHandle shutdownTimer, ConnectivityStateInfo state)
-
Uses of ConnectivityStateInfo in io.grpc.internal
Fields in io.grpc.internal declared as ConnectivityStateInfo Modifier and Type Field Description private ConnectivityStateInfo
PickFirstLeafLoadBalancer.SubchannelData. healthStateInfo
private ConnectivityStateInfo
InternalSubchannel. state
Methods in io.grpc.internal with parameters of type ConnectivityStateInfo Modifier and Type Method Description private 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 ConnectivityStateInfo Modifier and Type Field Description private ConnectivityStateInfo
HealthCheckingLoadBalancerFactory.HealthCheckState. concludedState
private ConnectivityStateInfo
HealthCheckingLoadBalancerFactory.HealthCheckState. rawState
Methods in io.grpc.protobuf.services with parameters of type ConnectivityStateInfo Modifier and Type Method Description private 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 ConnectivityStateInfo Modifier and Type Field Description private ConnectivityStateInfo
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel. lastSubchannelState
Methods in io.grpc.util with parameters of type ConnectivityStateInfo Modifier and Type Method Description void
ForwardingLoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated.void
GracefulSwitchLoadBalancer. handleSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo stateInfo)
Deprecated.void
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.OutlierDetectionSubchannelStateListener. onSubchannelState(ConnectivityStateInfo newState)
-