Scroll to navigation

MR::IProto::Cluster::Server(3pm) User Contributed Perl Documentation MR::IProto::Cluster::Server(3pm)

NAME

MR::IProto::Cluster::Server - server

DESCRIPTION

This class is used to implement all communication with one server.

ATTRIBUTES

Host name or IP address.
Port number.
Server weight.
Timeout of connect operation.
Timeout of read and write operations.
Enable TCP_NODELAY.
Enable SO_KEEPALIVE.
Max amount of simultaneous request.
Is server used in balancing.

PUBLIC METHODS

Class method used to disconnect all iproto-connections. Very useful in case of fork().

PROTECTED METHODS

_send_started( $sync, $message, $data )
This method is called when message is started to send.
_recv_finished( $sync, $message, $data, $error )
This method is called when message is received.

SEE ALSO

MR::IProto, MR::IProto::Cluster.

2020-07-21 perl v5.30.3