Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 443 Bytes

abstractevictionpolicy.md

File metadata and controls

5 lines (3 loc) · 443 Bytes

AbstractEvictionPolicy

class : cachebox.system.cache.policies.AbstractEvictionPolicy

This is the abstract class that gives the magic to eviction policies under the CacheBox cache provider. It communicates with the internal object stores and asks for specific metadata in specific sorter orders so the policy can execute its algorithm. Our current algorithms are: LRU,LFU, and FIFO. However, you can very easily implement your own.