Package 

Class ConcurrentPassiveExpiringSet

  • All Implemented Interfaces:
    kotlin.collections.Collection , kotlin.collections.Iterable , kotlin.collections.MutableCollection , kotlin.collections.MutableIterable , kotlin.collections.MutableSet , kotlin.collections.Set

    
    public final class ConcurrentPassiveExpiringSet<E extends Object>
     implements Set<E>
                        

    Decorates a <code>Set</code> to evict expired entries once their expiration time has been reached.

    Constructs a map decorator that decorates the given map and results in entries NEVER expiring. If there are any elements already in the map being decorated, they also will NEVER expire.