NAME
Cache::Memcached::AnyEvent::Selector::Ketama - Ketama Server Selection Algorithm =head1 SYNOPSIS
my
$memd
= Cache::Memcached::AnyEvent->new({
...
selector_class
=>
'Ketama'
,
});
DESCRIPTION
Implements the ketama server selection mechanism,
METHODS
$class->new( memcached => $memd )
Constructor.
$selector->set_servers( @servernames )
Called when a new server set is given
$handle = $selector->get_handle( $key )
Returns the AnyEvent handle that is responsible for handling $key