Uses of Interface
com.github.benmanes.caffeine.cache.RemovalListener
Packages that use RemovalListener
Package
Description
This package contains in-memory caching functionality.
-
Uses of RemovalListener in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache with parameters of type RemovalListenerModifier and TypeMethodDescriptionCaffeine.evictionListener(RemovalListener<? super K1, ? super V1> evictionListener) Specifies a listener instance that caches should notify each time an entry is evicted.Caffeine.removalListener(RemovalListener<? super K1, ? super V1> removalListener) Specifies a listener instance that caches should notify each time an entry is removed for any reason.