Class: Cuboid::Support::Cache::LeastRecentlyUsed

Inherits:
LeastRecentlyPushed show all
Defined in:
lib/cuboid/support/cache/least_recently_used.rb

Overview

Least Recently Used cache implementation.

Generally, the most desired mode under most circumstances. Discards the least recently used entries in order to make room for newer ones.

Author:

Instance Attribute Summary

Attributes inherited from Base

#max_size

Method Summary

Methods inherited from Base

#==, #[], #[]=, #any?, #capped?, #clear, #delete, #dup, #empty?, #fetch, #hash, #include?, #initialize, #size, #statistics, #store, #uncap, #uncapped?

Methods included from Mixins::Profiler

disable!, enable!, included, on?, #profile_proc, #profile_wrap_proc, results

Constructor Details

This class inherits a constructor from Cuboid::Support::Cache::Base