AnyEvent-RipeRedis
view release on metacpan or search on metacpan
# DISCONNECTION
When the connection to the server is no longer needed you can close it in three
ways: call the method `disconnect()`, send the `QUIT` command or you can just
"forget" any references to an AnyEvent::RipeRedis object, but in this
case the client object is destroyed without calling any callbacks, including
the `on_disconnect` callback, to avoid an unexpected behavior.
## disconnect()
The method for synchronous disconnection. All uncompleted operations will be
aborted.
## quit( \[ $cb->( $reply, $err ) \] )
The method for asynchronous disconnection.
# OTHER METHODS
## info( \[ $section \] \[, $cb->( $reply, $err ) \] )
Gets and parses information and statistics about the server. The result
is passed to callback as a hash reference.
More information about `INFO` command can be found here:
[http://redis.io/commands/info](http://redis.io/commands/info)
lib/AnyEvent/RipeRedis.pm view on Meta::CPAN
=head1 DISCONNECTION
When the connection to the server is no longer needed you can close it in three
ways: call the method C<disconnect()>, send the C<QUIT> command or you can just
"forget" any references to an AnyEvent::RipeRedis object, but in this
case the client object is destroyed without calling any callbacks, including
the C<on_disconnect> callback, to avoid an unexpected behavior.
=head2 disconnect()
The method for synchronous disconnection. All uncompleted operations will be
aborted.
=head2 quit( [ $cb->( $reply, $err ) ] )
The method for asynchronous disconnection.
=head1 OTHER METHODS
=head2 info( [ $section ] [, $cb->( $reply, $err ) ] )
Gets and parses information and statistics about the server. The result
is passed to callback as a hash reference.
More information about C<INFO> command can be found here:
L<http://redis.io/commands/info>
( run in 1.117 second using v1.01-cache-2.11-cpan-0d8aa00de5b )