Memcached::Client::Selector - Abstract Base Class For Memcached::Client Selector
version 2.01
package NewHash; use strict; use base qw{Memcached::Client::Selector};
new() builds a new object. It takes no parameters.
new()
log
Log the specified message with an appropriate prefix derived from the class name.
set_servers() will initialize the selector from the arrayref of servers (or server => weight tuples) passed to it.
set_servers()
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.
get_server()
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.
Michael Alan Dorman <mdorman@ironicdesign.com>
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.
To install Memcached::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Memcached::Client
CPAN shell
perl -MCPAN -e shell install Memcached::Client
For more information on module installation, please visit the detailed CPAN module installation guide.