Uses of Class
io.grpc.ConnectivityState
-
Packages that use ConnectivityState Package Description io.grpc The gRPC core public API. -
-
Uses of ConnectivityState in io.grpc
Fields in io.grpc declared as ConnectivityState Modifier and Type Field Description ConnectivityStateInternalChannelz.ChannelStats. stateMethods in io.grpc that return ConnectivityState Modifier and Type Method Description ConnectivityStateConnectivityStateInfo. getState()Returns the state.ConnectivityStateManagedChannel. getState(boolean requestConnection)Gets the current connectivity state.static ConnectivityStateConnectivityState. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConnectivityState[]ConnectivityState. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.grpc with parameters of type ConnectivityState Modifier and Type Method Description static ConnectivityStateInfoConnectivityStateInfo. forNonError(ConnectivityState state)Returns an instance for a state that is notTRANSIENT_FAILURE.voidManagedChannel. notifyWhenStateChanged(ConnectivityState source, java.lang.Runnable callback)Registers a one-off callback that will be run if the connectivity state of the channel diverges from the givensource, which is typically what has just been returned byManagedChannel.getState(boolean).InternalChannelz.ChannelStats.BuilderInternalChannelz.ChannelStats.Builder. setState(ConnectivityState state)abstract voidLoadBalancer.Helper. updateBalancingState(ConnectivityState newState, LoadBalancer.SubchannelPicker newPicker)Set a new state with a new picker to the channel.
-