NAME
Net::Clacks::ClacksCache - Clacks based Memcached replacement
SYNOPSIS
use Net::Clacks::ClacksCache;
new
Makes a new instances if ClacksCache
newFromHandle
Takes a standard clacks instance and turns it into a ClacksCache instance.
set
Sets a key/value pair
get
Retrieve a value for the given key
incr
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.
decr
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
Delete a key/value pair.
clacks_keylist
Provides a list of keys stored in ClacksCache.
clacks_notify
Provides the Net::Clacks::Client notify function.
clacks_set
Provides the Net::Clacks::Client set function.
extraInits
If you overload Net::Clacks::ClacksCache, overloading extraInits() gives you a convenient places to add your own initialization.
extraDestroys
If you overload Net::Clacks::ClacksCache, overloading extraDestroys() gives you a convenient places to add your own destroy functionality.
deref
Internal function
reconnect
Reconnect to the clacks server. This is mostly used internally, but you can call it if you suspect your connection is wonky or broken.
sanitize_key
Internal function
DESCRIPTION
This implements the memcached-like client for the CLACKS interprocess messaging protocol.
IMPORTANT NOTE
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!
AUTHOR
Rene Schickbauer, <cavac@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008-2019 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.