AnyEvent-Redis-RipeRedis
view release on metacpan or search on metacpan
lib/AnyEvent/Redis/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::Redis::RipeRedis object, but in this
case a 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.
$redis->disconnect();
=head2 quit()
The method for asynchronous disconnection.
$redis->quit(
sub {
# handling...
}
);
=head1 OTHER METHODS
=head2 connection_timeout( [ $fractional_seconds ] )
( run in 0.273 second using v1.01-cache-2.11-cpan-0d8aa00de5b )