Class ArchiveCacheEvictionController


  • public class ArchiveCacheEvictionController
    extends java.lang.Object
    • Method Detail

      • computeEvictionJudge

        public LRUCacheEvictionJudge<ArchiveCacheEntry> computeEvictionJudge()
        Computes an eviction judge that prevents eviction of in-use archives (required by active access requests) or eviction of archives that are non-expirable (to be kept forever in cache).
        Returns:
        An eviction judge that decides if an archive "file-bucket-id/tarId" can be evicted from cache or not.