Class LFUCache
java.lang.Object
NetStrategies.CacheStrategy
NetStrategies.CacheStrategies.LFUCache
- All Implemented Interfaces:
AutoCheck
LFU (Least Frequently Used) cache eviction strategy: removes the item with the smallest number of accesses.
-
Field Summary
Fields inherited from class CacheStrategy
engine, netSystem, removeItemMode -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CacheStrategy
check, getRemoveItemMode, setNetSystem, setRandomEngine, setRemoveItemMode
-
Constructor Details
-
LFUCache
public LFUCache()
-
-
Method Details
-
getRemoveItem
- Specified by:
getRemoveItemin classCacheStrategy
-