Package io.grpc.rls

Class CachingRlsLbClient.AutoCleaningEvictionListener

java.lang.Object
io.grpc.rls.CachingRlsLbClient.AutoCleaningEvictionListener
All Implemented Interfaces:
LruCache.EvictionListener<RlsProtoData.RouteLookupRequest,CachingRlsLbClient.CacheEntry>
Enclosing class:
CachingRlsLbClient

private static final class CachingRlsLbClient.AutoCleaningEvictionListener extends Object implements LruCache.EvictionListener<RlsProtoData.RouteLookupRequest,CachingRlsLbClient.CacheEntry>
When any CachingRlsLbClient.CacheEntry is evicted from LruCache, it performs CachingRlsLbClient.CacheEntry.cleanup() after original LruCache.EvictionListener is finished.