Interface EntryCacheEvictionPolicy
-
- All Known Implementing Classes:
EntryCacheDefaultEvictionPolicy
public interface EntryCacheEvictionPolicyCache eviction policy abstraction interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoEviction(java.util.List<EntryCache> caches, long sizeToFree)Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
-
-
-
Method Detail
-
doEviction
void doEviction(java.util.List<EntryCache> caches, long sizeToFree)
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
-
-