Main > Programming > Libraries >

Cache::Mmap 0.09

Cache::Mmap 0.09

Sponsored Links

Cache::Mmap 0.09 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.021 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 894
Date added: 2007-05-28
Publisher: Peter Haworth

Cache::Mmap 0.09 description

Cache::Mmap Perl module helps you to share data cache using memory mapped files.

SYNOPSIS

use Cache::Mmap;

$cache=Cache::Mmap->new($filename,%options);

$val1=$cache->read($key1);
$cache->write($key2,$val2);
$cache->delete($key3);

This module implements a shared data cache, using memory mapped files. If routines are provided which interact with the underlying data, access to the cache is completely transparent, and the module handles all the details of refreshing cache contents, and updating underlying data, if necessary.
Cache entries are assigned to "buckets" within the cache file, depending on the key. Within each bucket, entries are stored approximately in order of last access, so that frequently accessed entries will move to the head of the bucket, thus decreasing access time. Concurrent accesses to the same bucket are prevented by file locking of the relevant section of the cache file.

CONFIGURATION METHODS

These methods are used to examine/update the configuration of a cache. Most of these methods are read-only, and the value returned may be different to that passed to the constructor, since the cache may have been created by an earlier process which specified different parameters.

buckets()

Returns the number of buckets in the cache file.

bucketsize()

Returns the size of buckets (in bytes) in the cache file.

cachenegative()

Returns true if items not found in the underlying data are cached anyway.

context()

Returns the context data for reads and writes to the underlying data.

context($context)

Provides new context data for reads and writes to the underlying data.

expiry()

Returns the time in seconds cache entries are considered valid for, or zero for indefinite validity.

pagesize()

Returns the page size (in bytes) of the cache file.

strings()

Returns true if the cache stores strings rather than references.

writethrough()

Returns true if items written to the cache are immediately written to the underlying data.

Cache::Mmap 0.09 Screenshot

Advertisements

Cache::Mmap 0.09 Keywords

Bookmark Cache::Mmap 0.09

Hyperlink code:
Link for forum:

Cache::Mmap 0.09 Copyright

WareSeeker periodically updates pricing and software information of Cache::Mmap 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Cache::Mmap 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
MMap is a GTK2 map viewer. Free Download
Cache::Memcached::Tie is a Perl module created for using Cache::Memcached as hash. Free Download
Apache::Cache is a cache data accessible between Apache childrens. Free Download
NetPacket::ARP is a Perl module to assemble and disassemble ARP (Address Resolution Protocol) packets. Free Download
Apache2::Pod is a Perl base class for converting Pod files to prettier forms. Free Download
Cache::Cache Perl module contains the Cache interface. Free Download
Cascade Historian software is an event driven data storage program. Free Download
Apache::Storage is Perl module containing simple functions to store and retrieve information from within the Apache process. Free Download