« blib/lib/Memcached/libmemcached/memcached_pool.pm
↑ Summary
blib/lib/Memcached/libmemcached/memcached_result_st.pm »
| 1 | package Memcached::libmemcached::memcached_quit; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | memcached_quit - Disconnect from all servers | ||
| 6 | |||
| 7 | =head1 LIBRARY | ||
| 8 | |||
| 9 | C Client Library for memcached (libmemcached, -lmemcached) | ||
| 10 | |||
| 11 | =head1 SYNOPSIS | ||
| 12 | |||
| 13 | #include <memcached.h> | ||
| 14 | |||
| 15 | void memcached_quit (memcached_st *ptr); | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | memcached_quit() will disconnect you from all currently connected servers. | ||
| 20 | It will also reset the state of the connection (ie, any memcached_fetch() you | ||
| 21 | are in the middle of will be terminated). This function is called | ||
| 22 | automatically when you call memcached_free() on the C<memcached_st> structure. | ||
| 23 | |||
| 24 | You do not need to call this on your own. All operations to change server | ||
| 25 | hashes and parameters will handle connections to the server for you. This | ||
| 26 | function is provided mainly so that you can timeout your connections or | ||
| 27 | reset connections during the middle of a memcached_fetch(). | ||
| 28 | |||
| 29 | =head1 RETURN | ||
| 30 | |||
| 31 | A value of type C<memcached_return> is returned | ||
| 32 | On success that value will be C<MEMCACHED_SUCCESS>. | ||
| 33 | Use memcached_strerror() to translate this value to a printable string. | ||
| 34 | |||
| 35 | =head1 HOME | ||
| 36 | |||
| 37 | To find out more information please check: | ||
| 38 | L<https://launchpad.net/libmemcached> | ||
| 39 | |||
| 40 | =head1 AUTHOR | ||
| 41 | |||
| 42 | Brian Aker, E<lt>brian@tangent.orgE<gt> | ||
| 43 | |||
| 44 | =head1 SEE ALSO | ||
| 45 | |||
| 46 | memcached(1) libmemcached(3) memcached_strerror(3) | ||
| 47 | |||
| 48 | =cut | ||
| 49 | |||
| 50 | 1 | 1; |