Cache::BerkeleyDBCache::BerkeleyDB Perl module implements the Cache::Cache interface. | |
Download |
Cache::BerkeleyDB Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Baldur Kristinsson
- Publisher web site:
- http://search.cpan.org/~baldur/Cache-BerkeleyDB-0.03/lib/Cache/BerkeleyDB.pm
Cache::BerkeleyDB Tags
Cache::BerkeleyDB Description
Cache::BerkeleyDB Perl module implements the Cache::Cache interface. Cache::BerkeleyDB Perl module implements the Cache::Cache interface.This module implements the Cache interface provided by the Cache::Cache family of modules written by DeWitt Clinton. It provides a practically drop-in replacement for Cache::FileCache.As should be obvious from the name, the backend is based on BerkeleyDB.SYNOPSIS use Cache::BerkeleyDB; my $cache = new Cache::BerkeleyDB( { 'namespace' => 'MyNamespace', 'default_expires_in' => 600 } ); See Cache::Cache for the usage synopsis.METHODSSee Cache::Cache for the API documentation. Only changes relative to the standard methods are mentioned below.Clear( )See Cache::Cache, with the optional $cache_root parameter.Purge( )See Cache::Cache, with the optional $cache_root parameter.Size( )See Cache::Cache, with the optional $cache_root parameter.OPTIONSSee Cache::Cache for standard options. Additionally, options are set by passing in a reference to a hash containing any of the following keys:cache_rootThe location in the filesystem that will hold the BDB files representing the cache namespaces. Defaults to /tmp unless explicitly set.umaskThe umask which will be active when any cache files are created. Defaults to 002. Note that this will have no effect on existing files. Requirements: · Perl
Cache::BerkeleyDB Related Software