Package io.grpc.grpclb
Interface SubchannelPool.PooledSubchannelStateListener
-
- Enclosing interface:
- SubchannelPool
public static interface SubchannelPool.PooledSubchannelStateListener
Receives state changes for a pooledLoadBalancer.Subchannel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState)
Handles a state change on a Subchannel.
-
-
-
Method Detail
-
onSubchannelState
void onSubchannelState(LoadBalancer.Subchannel subchannel, ConnectivityStateInfo newState)
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.
-
-