Name : perl-Tie-Cache-LRU-Expires
| |
Version : 0.54
| Vendor : Dag Apt Repository, http://dag_wieers_com/apt/
|
Release : 1.el6.rf
| Date : 2010-11-12 17:50:00
|
Group : Applications/CPAN
| Source RPM : perl-Tie-Cache-LRU-Expires-0.54-1.el6.rf.src.rpm
|
Size : 0.01 MB
| |
Packager : Dries Verachtert < dries_ulyssis_org>
| |
Summary : Perl implementation of a least-recently used cache with expiration
|
Description :
A LRU cache is similar to the kind of cache used by a web browser. New items are placed into the top of the cache. When the cache grows past its size limit, it throws away items off the bottom. The trick is that whenever an item is -accessed-, it is pulled back to the top. The end result of all this is that items which are frequently accessed tend to stay in the cache.
This is an expiring LRU cache. Each entry in this cache expires after \'EXPIRES\' seconds (default 3600). The cache is in RAM (see Tie::Cache::LRU). ENTRIES provides the maximum number of entries in the Tie::Cache::LRU cache.
It works by checking if a cached entry hasn\'t expired. If it has, undef is returned, otherwise it\'s value. If the entry wasn\'t cached, undef is also returned (of course). Expired entries will eventually drop of the LRU; or, if referenced will (as can be expected, otherwise they wouldn\'t be referenced) be refreshed.
|
RPM found in directory: /vol/rzm3/linux-dag/dag/redhat/el6/en/x86_64/dag/RPMS |