Modifier and Type | Method | 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 | 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.
|