Package io.grpc.rls
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 TypeMethodDescriptionvoid
onStatusChanged
(ConnectivityState newState) Notifies when child lb status changes.
-
Field Details
-
prevState
-
-
Constructor Details
-
BackoffRefreshListener
private BackoffRefreshListener()
-
-
Method Details
-
onStatusChanged
Description copied from interface:LbPolicyConfiguration.ChildLbStatusListener
Notifies when child lb status changes.- Specified by:
onStatusChanged
in interfaceLbPolicyConfiguration.ChildLbStatusListener
-