Net::Clacks::ClacksCache - Clacks based Memcached replacement
use Net::Clacks::ClacksCache;
Makes a new instances if ClacksCache
Takes a standard clacks instance and turns it into a ClacksCache instance.
Sets a key/value pair
Retrieve a value for the given key
Increment a value. This behaves mostly according to standard Perl rules regarding scalars. If the value for the key doesn't exist or is not numeric, it is assumed to be zero and then incremented.
Decrement a value. This behaves mostly according to standard Perl rules regarding scalars. If the value for the key doesn't exist or is not numeric, it is assumed to be zero and then decremented.
Delete a key/value pair.
Provides a list of keys stored in ClacksCache.
Provides the Net::Clacks::Client notify function.
Provides the Net::Clacks::Client set function.
If you overload Net::Clacks::ClacksCache, overloading extraInits() gives you a convenient places to add your own initialization.
If you overload Net::Clacks::ClacksCache, overloading extraDestroys() gives you a convenient places to add your own destroy functionality.
Internal function
Reconnect to the clacks server. This is mostly used internally, but you can call it if you suspect your connection is wonky or broken.
Disconnect from the Server
This implements the memcached-like client for the CLACKS interprocess messaging protocol.
Please make sure and read the documentations for Net::Clacks as well as the Changes file, as they contain important information pertaining to upgrades and general changes!
Rene Schickbauer, <cavac@cpan.org>
Copyright (C) 2008-2023 Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Net::Clacks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Clacks
CPAN shell
perl -MCPAN -e shell install Net::Clacks
For more information on module installation, please visit the detailed CPAN module installation guide.