Interface SubchannelPool.PooledSubchannelStateListener
- Enclosing interface:
SubchannelPool
public static interface SubchannelPool.PooledSubchannelStateListener
Receives state changes for a pooled
LoadBalancer.Subchannel.-
Method Summary
Modifier and TypeMethodDescriptionvoidonSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState) Handles a state change on a Subchannel.
-
Method Details
-
onSubchannelState
Handles a state change on a Subchannel. The behavior is similar toLoadBalancer.SubchannelStateListener.When a subchannel is reused, subchannel state change event will be triggered even if the underlying status remains same.
-