table of contents
MR::IProto::Cluster(3pm) | User Contributed Perl Documentation | MR::IProto::Cluster(3pm) |
NAME¶
MR::IProto::Cluster - cluster of servers
DESCRIPTION¶
This class is used to implement balancing between several servers.
EXPORTED CONSTANTS¶
ATTRIBUTES¶
PUBLIC METHODS¶
- server( $key? )
- Get server from balancing using $key.
- timeout( $new? )
- Used to set $new timeout value to all servers. If argument is skipped and timeout is equal for all servers then returns it value, if timeout is different then returns undef.
SEE ALSO¶
MR::IProto, MR::IProto::Cluster::Server.
2020-07-21 | perl v5.30.3 |