| Cache-Memcached-AnyEvent documentation | view source | Contained in the Cache-Memcached-AnyEvent distribution. |
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
Returns the hash value for key $key
| Cache-Memcached-AnyEvent documentation | view source | Contained in the Cache-Memcached-AnyEvent distribution. |