NAME

EntityModel::Cache::Memcached::Async - support for memcached via Net::Async::Memcached

VERSION

version 0.001

SYNOPSIS

EntityModel->new->add_cache('Memcached::Async' => {
	servers => [qw(127.0.0.1:11211)],
});

METHODS

get

Get value for the given key.

remove

Remove an entry from the cache.

incr

Increment a cache value. Should be atomic, currently isn't.

decr

Decrement a cache value. Should be atomic, isn't yet.

set

atomic

Atomic access to a cache value. Not implemented.

SEE ALSO

  • Net::Async::Memcached

  • Protocol::Memcached::Client

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.