Enabling the TTL evictor WebSphere eXtreme Scale provides
a default mechanism for evicting cache entries and a plug-in for creating
custom evictors. An evictor controls the membership of entries in
each BackingMap instance. The default evictor uses a time to live
(TTL) eviction policy for each BackingMap instance. If you provide
a pluggable evictor mechanism, it typically uses an eviction policy
that is based on the number of entries instead of on time.
Plug in a pluggable evictor
Since evictors are associated with BackingMaps, use the
BackingMap interface to specify the pluggable evictor.