接口 EntryCacheEvictionPolicy

所有已知实现类:
EntryCacheDefaultEvictionPolicy

public interface EntryCacheEvictionPolicy
Cache eviction policy abstraction interface.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    doEviction(List<EntryCache> caches, long sizeToFree)
    Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
  • 方法详细资料

    • doEviction

      void doEviction(List<EntryCache> caches, long sizeToFree)
      Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
      参数:
      caches - the list of caches to consider
      sizeToFree - the minimum size in bytes to be freed