X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fmemcached_get.pod;h=db2c9b5ae9d8295b665bf1c0fd18758366d42b9a;hb=24020ff57ce7b83038650c42952d3fe6d49fd417;hp=5dde1edcbc0ab8cf66e5e06d6343a280c0a37606;hpb=d3849dc8d77725e4997f40e0d988787b3e913bd9;p=m6w6%2Flibmemcached diff --git a/docs/memcached_get.pod b/docs/memcached_get.pod index 5dde1edc..db2c9b5a 100644 --- a/docs/memcached_get.pod +++ b/docs/memcached_get.pod @@ -1,6 +1,7 @@ =head1 NAME -memcached_get, memcached_mget, memcached_fetch - Get a value +memcached_get, memcached_mget, memcached_fetch, memcached_mget_execute, +memcached_mget_execute_by_key - Get a value =head1 LIBRARY @@ -54,10 +55,8 @@ C Client Library for memcached (libmemcached, -lmemcached) unsigned int number_of_callbacks); - memcached_return + memcached_return memcached_mget_execute(memcached_st *ptr, - const char *master_key, - size_t master_key_length, const char * const *keys, const size_t *key_length, size_t number_of_keys, @@ -65,6 +64,17 @@ C Client Library for memcached (libmemcached, -lmemcached) void *context, unsigned int number_of_callbacks); + memcached_return + memcached_mget_execute_by_key(memcached_st *ptr, + const char *master_key, + size_t master_key_length, + const char * const *keys, + const size_t *key_length, + size_t number_of_keys, + memcached_execute_function *callback, + void *context, + unsigned int number_of_callbacks); + =head1 DESCRIPTION @@ -115,14 +125,15 @@ you supply the calling function. Currently only one value is being passed to each function call. In the future there will be an option to allow this to be an array. -memcached_mget_execute() is similar to memcached_mget(), but it may trigger -the supplied callbacks with result sets while sending out the queries. If -you try to perform a really large multiget with memcached_mget() you may -encounter a deadlock in the OS kernel (we fail to write data to the socket -because the input buffer is full). memcached_mget_execute() solves this -problem by processing some of the results before continuing sending out -requests. Please note that this function is only available in the binary -protocol. +memcached_mget_execute() and memcached_mget_execute_by_key() is +similar to memcached_mget(), but it may trigger the supplied callbacks +with result sets while sending out the queries. If you try to perform +a really large multiget with memcached_mget() you may encounter a +deadlock in the OS kernel (we fail to write data to the socket because +the input buffer is full). memcached_mget_execute() solves this +problem by processing some of the results before continuing sending +out requests. Please note that this function is only available in the +binary protocol. memcached_get_by_key() and memcached_mget_by_key() behave in a similar nature as memcached_get() and memcached_mget(). The difference is that they take