Package com.j_spaces.map.eviction
package com.j_spaces.map.eviction
-
ClassesClassDescriptionImplements EvictionStrategy and acts as a base for all the eviction strategiesfirst-in first-out (as opposed to LIFO, last-in first-out) Items come out in the same order they came in.The heap LFUDA ( Least Frequently Used) policy keeps popular objects in cache regardless of their size and thus optimizes byte hit rate at the expense of hit rate since one large, popular object will prevent many smaller, slightly less popular objects from being cached.The LRU policies keep recently referenced objects.No eviction strategyFirst try to evict the biggest object.