Class CachingRlsLbClient.BackoffRefreshListener
java.lang.Object
io.grpc.rls.CachingRlsLbClient.BackoffRefreshListener
- All Implemented Interfaces:
LbPolicyConfiguration.ChildLbStatusListener
- Enclosing class:
CachingRlsLbClient
private final class CachingRlsLbClient.BackoffRefreshListener
extends Object
implements LbPolicyConfiguration.ChildLbStatusListener
LbStatusListener refreshes
CachingRlsLbClient.BackoffCacheEntry when lb state is changed to ConnectivityState.READY from ConnectivityState.TRANSIENT_FAILURE.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonStatusChanged(ConnectivityState newState) Notifies when child lb status changes.
-
Field Details
-
prevState
-
-
Constructor Details
-
BackoffRefreshListener
private BackoffRefreshListener()
-
-
Method Details
-
onStatusChanged
Description copied from interface:LbPolicyConfiguration.ChildLbStatusListenerNotifies when child lb status changes.- Specified by:
onStatusChangedin interfaceLbPolicyConfiguration.ChildLbStatusListener
-