Class: Arachni::Support::Cache::LeastRecentlyPushed

Inherits:
Base
  • Object
show all
Defined in:
lib/arachni/support/cache/least_recently_pushed.rb

Overview

Least Recently Pushed cache implementation.

Discards the least recently pushed entries, in order to make room for newer ones.

This is the cache with best performance across the board.

Author:

Direct Known Subclasses

LeastRecentlyUsed

Instance Attribute Summary

Attributes inherited from Base

#max_size

Method Summary

Methods inherited from Base

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

Constructor Details

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