Interface EntryCacheEvictionPolicy

All Known Implementing Classes:
EntryCacheDefaultEvictionPolicy

public interface EntryCacheEvictionPolicy
Cache eviction policy abstraction interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doEviction(List<EntryCache> caches, long sizeToFree)
    Perform the cache eviction of at least sizeToFree bytes on the supplied list of caches.
  • Method Details

    • doEviction

      void doEviction(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 consider
      sizeToFree - the minimum size in bytes to be freed