接口 EntryCacheEvictionPolicy
- 所有已知实现类:
EntryCacheDefaultEvictionPolicy
public interface EntryCacheEvictionPolicy
Cache eviction policy abstraction interface.
-
方法概要
修饰符和类型方法说明voiddoEviction(List<EntryCache> caches, long sizeToFree) Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
-
方法详细资料
-
doEviction
Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.- 参数:
caches- the list of caches to considersizeToFree- the minimum size in bytes to be freed
-