Uses of Class
io.grpc.ConnectivityStateInfo
-
Packages that use ConnectivityStateInfo Package Description io.grpc The gRPC core public API.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.util
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.
-