The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CHI::Driver::SharedMem - Cache data in shared memory

VERSION

Version 0.01

SYNOPSIS

CHI driver which stores data in shared memory objects for persistency over processes.

    use CHI;
    my $cache = CHI->new(driver => 'SharedMem', size => 8 * 1024);
    # ...

SUBROUTINES/METHODS

store

Stores an object in the cache

fetch

Retrieves an object from the cache

remove

Remove an object from the cache

clear

Removes all data from the cache

get_keys

Gets a list of the keys in the cache

get_namespaces

Gets a list of the namespaces in the cache

AUTHOR

Nigel Horne, <njh at bandsman.co.uk>

BUGS

Please report any bugs or feature requests to bug-chi-driver-sharedmem at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CHI-Driver-SharedMem. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

CHI, IPC::SharedMem;

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc CHI::Driver::SharedMem

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Nigel Horne.

This program is released under the following licence: GPL