- CONSTRUCTOR OPTIONS
- SEE ALSO
- COPYRIGHT AND LICENSE
CHI::Driver::BerkeleyDB - BerkeleyDB Cache Driver for CHI
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.
Originally created by Jonathan Swartz. Version 0.04 and later maintained by Michael Schout.
The development version is on github at http://https://github.com/mschout/perl-chi-driver-bdb and may be cloned from git://https://github.com/mschout/perl-chi-driver-bdb.git
Please report any bugs or feature requests on the bugtracker website https://github.com/mschout/perl-chi-driver-bdb/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Michael Schout <firstname.lastname@example.org>
This software is copyright (c) 2009 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.