NAME

Memcached::Client::Selector - Abstract Base Class For Memcached::Client Selector

VERSION

version 2.01

SYNOPSIS

package NewHash;
use strict;
use base qw{Memcached::Client::Selector};

METHODS

new

new() builds a new object. It takes no parameters.

log

Log the specified message with an appropriate prefix derived from the class name.

set_servers

set_servers() will initialize the selector from the arrayref of servers (or server => weight tuples) passed to it.

get_server

get_server() will use the object's list of servers to extract the proper server name from the list of connected servers, so the protocol object can use it to make a request.

This routine can return undef, if called before set_servers has been called, whether explicitly, or implicitly by handling a list of servers to the constructor.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Alan Dorman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.