Cache::Memcached::AnyEvent::Selector::Traditional - Traditional Server Selection Algorithm (ala Cache::Memcached)
use Cache::Memcached::AnyEvent; my $memd = Cache::Memcached::AnyEvent->new({ ... selector_class => 'Traditional', # Default, so you can omit });
Implements the default server selection mechanism, as implemented by Cache::Memcached. You do not need to explicitly specify this, as this is the default selector.
Constructor.
Called when a new server set is given.
Returns the AnyEvent handle that is responsible for handling $key
$key
Returns the hash value for key $key
To install Cache::Memcached::AnyEvent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache::Memcached::AnyEvent
CPAN shell
perl -MCPAN -e shell install Cache::Memcached::AnyEvent
For more information on module installation, please visit the detailed CPAN module installation guide.