AnyEvent-Riak
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
on_connect => $cb->($handle, $host, $port, $retry->())
CodeRef, required. Executed on connection. Check out
AnyEvent::Handle#on_connect-cb--handle-host-port-retry
on_connect_error => $cb->($handle, $message)
CodeRef, required. Executed when the connection could not be
established. Check out
AnyEvent::Handle#on_connect_error-cb--handle-message
connect_timeout => $fractional_seconds
Float, Default 5. Timeout for connection operation, in seconds. Set to 0
for no timeout.
timeout => $fractional_seconds
Float, Default 5. Timeout for read/write operation, in seconds. Set to 0
for no timeout.
no_delay => <boolean>
Boolean, Default 0. If set to a true value, TCP_NODELAY will be enabled
on the socket, which means deactivating Nagle's algorithm. Use only if
you know what you're doing.
METHODS
$client->close($cb)
This method will wait until everything has been written to the
lib/AnyEvent/Riak.pm view on Meta::CPAN
CodeRef, required. Executed on connection. Check out
L<AnyEvent::Handle#on_connect-cb--handle-host-port-retry>
=head2 on_connect_error => $cb->($handle, $message)
CodeRef, required. Executed when the connection could not be established. Check out
L<AnyEvent::Handle#on_connect_error-cb--handle-message>
=head2 connect_timeout => $fractional_seconds
Float, Default 5. Timeout for connection operation, in seconds. Set to 0 for no timeout.
=head2 timeout => $fractional_seconds
Float, Default 5. Timeout for read/write operation, in seconds. Set to 0 for no timeout.
=head2 no_delay => <boolean>
Boolean, Default 0. If set to a true value, TCP_NODELAY will be enabled on the
socket, which means deactivating Nagle's algorithm. Use only if you know what
you're doing.
=head1 METHODS
=head2 $client->close($cb)
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.422 second using v1.00-cache-2.02-grep-82fe00e-cpan-cec75d87357c )