- CONSTRUCTOR OPTIONS
- SUPPORT AND DOCUMENTATION
- SEE ALSO
- COPYRIGHT & LICENSE
CHI::Driver::BerkeleyDB -- Using BerkeleyDB for cache
use CHI; my $cache = CHI->new( driver => 'BerkeleyDB', root_dir => '/path/to/cache/root' );
This cache driver uses Berkeley DB files to store data. Each namespace is stored in its own db file.
By default, the driver configures the Berkeley DB environment to use the Concurrent Data Store (CDS), making it safe for multiple processes to read and write the cache without explicit locking.
Path to the directory that will contain the Berkeley DB environment, also known as the "Home".
BerkeleyDB class, defaults to BerkeleyDB::Hash.
Use this Berkeley DB environment instead of creating one.
Use this Berkeley DB object instead of creating one.
Questions and feedback are welcome, and should be directed to the perl-cache mailing list:
Bugs and feature requests will be tracked at RT:
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-chi-driver-bdb/tree/master git clone git://github.com/jonswar/perl-chi-driver-bdb.git
Copyright (C) 2007 Jonathan Swartz.
CHI::Driver::BerkeleyDB is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.