Interface EntryCacheEvictionPolicy
- All Known Implementing Classes:
EntryCacheDefaultEvictionPolicy
public interface EntryCacheEvictionPolicy
Cache eviction policy abstraction interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoEviction(List<EntryCache> caches, long sizeToFree) Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
-
Method Details
-
doEviction
Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.- Parameters:
caches- the list of caches to considersizeToFree- the minimum size in bytes to be freed
-