| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectivityStateInfo |
ConnectivityStateInfo.forNonError(ConnectivityState state)
Returns an instance for a state that is not
TRANSIENT_FAILURE. |
static ConnectivityStateInfo |
ConnectivityStateInfo.forTransientFailure(Status error)
Returns an instance for
TRANSIENT_FAILURE, associated with an error status. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
LoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo)
Handles a state change on a Subchannel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForwardingLoadBalancer.handleSubchannelState(LoadBalancer.Subchannel subchannel,
ConnectivityStateInfo stateInfo) |