Merge lp:~kent/libmemcached/KBDocs1 into lp:~tangent-org/libmemcached/trunk

Proposed by KentBozlinski
Status: Merged
Merge reported by: Brian Aker
Merged at revision: not available
Proposed branch: lp:~kent/libmemcached/KBDocs1
Merge into: lp:~tangent-org/libmemcached/trunk
Diff against target: 472 lines (+78/-77)
17 files modified
docs/hashkit_create.rst (+2/-2)
docs/libmemcached.rst (+18/-11)
docs/memcached_callback.rst (+25/-27)
docs/memcached_delete.rst (+2/-2)
docs/memcached_dump.rst (+2/-2)
docs/memcached_get.rst (+4/-4)
docs/memcached_memory_allocators.rst (+1/-1)
docs/memcached_result_st.rst (+4/-4)
docs/memcached_sasl.rst (+1/-1)
docs/memcached_set.rst (+5/-5)
docs/memcached_version.rst (+1/-1)
docs/memcapable.rst (+5/-5)
docs/memcp.rst (+2/-3)
docs/memdump.rst (+1/-1)
docs/memerror.rst (+2/-2)
docs/memflush.rst (+1/-1)
docs/memslap.rst (+2/-5)
To merge this branch: bzr merge lp:~kent/libmemcached/KBDocs1
Reviewer Review Type Date Requested Status
Libmemcached-developers Pending
Review via email: mp+58012@code.launchpad.net

Description of the change

Cleaned up Grammar and some formatting of text in some of the docs. No big changes, just cleanup.

To post a comment you must log in.
lp:~kent/libmemcached/KBDocs1 updated
937. By Kent <kent@KentLaptop>

Merge of Brian with Doc

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'docs/hashkit_create.rst'
--- docs/hashkit_create.rst 2011-04-14 04:27:08 +0000
+++ docs/hashkit_create.rst 2011-04-18 19:22:31 +0000
@@ -22,9 +22,9 @@
2222
23.. code-block:: perl23.. code-block:: perl
2424
25 #include <libmemcached/hashkit.h>25#include <libmemcached/hashkit.h>
26 26
27 hashkit_st *hashkit_create(hashkit_st *hash);27hashkit_st *hashkit_create(hashkit_st *hash);
28 28
29 hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);29 hashkit_st *hashkit_clone(hashkit_st *destination, const hashkit_st *ptr);
30 30
3131
=== modified file 'docs/libmemcached.rst'
--- docs/libmemcached.rst 2011-04-14 04:27:08 +0000
+++ docs/libmemcached.rst 2011-04-18 19:22:31 +0000
@@ -6,10 +6,17 @@
6SYNOPSIS6SYNOPSIS
7--------7--------
88
9#include <libmemcached/memcached.h>9libMemcached is an open source C/C++ client library and tools for the memcached server (http://danga.com/memcached). It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.
1010
11Compile and link with -lmemcached11libMemcached was designed to provide the greatest number of options to use Memcached. Some of the features provided:
1212
131. Asynchronous and Synchronous Transport Support.
142. Consistent Hashing and Distribution.
153. Tunable Hashing algorithm to match keys.
164. Access to large object support.
175. Local replication.
186. A complete reference guide and documentation to the API.
197. Tools to Manage your Memcached networks.
1320
14-----------21-----------
15DESCRIPTION22DESCRIPTION
@@ -21,14 +28,14 @@
21applications by alleviating database load." `http://danga.com/memcached/ <http://danga.com/memcached/>`_28applications by alleviating database load." `http://danga.com/memcached/ <http://danga.com/memcached/>`_
2229
23\ **libmemcached**\ is a small, thread-safe client library for the30\ **libmemcached**\ is a small, thread-safe client library for the
24memcached protocol. The code has all been written with an eye to allow31memcached protocol. The code has all been written to allow
25for both web and embedded usage. It handles the work behind routing32for both web and embedded usage. It handles the work behind routing
26particular keys to specific servers that you specify (and values are33individual keys to specific servers specified by the developer (and values are
27matched based on server order as supplied by you). It implements both34matched based on server order as supplied by the user). It implements
28a modula and consistent method of object distribution.35a modular and consistent method of object distribution.
2936
30There are multiple implemented routing and hashing methods. See the37There are multiple implemented routing and hashing methods. See the
31memcached_behavior_set() manpage.38memcached_behavior_set() manpage for more information.
3239
33All operations are performed against a \ ``memcached_st``\ structure.40All operations are performed against a \ ``memcached_st``\ structure.
34These structures can either be dynamically allocated or statically41These structures can either be dynamically allocated or statically
@@ -117,9 +124,9 @@
117---------------------124---------------------
118125
119126
120When using threads or forked processes it is important to keep an instance127When using threads or forked processes it is important to keep one instance
121of \ ``memcached_st``\ per process or thread. Without creating your own locking128of \ ``memcached_st``\ per process or thread. Without creating your own locking
122structures you can not share a single \ ``memcached_st``\ . You can though call129structures you can not share a single \ ``memcached_st``\ . However, you can call
123memcached_quit(3) on a \ ``memcached_st``\ and then use the resulting cloned130memcached_quit(3) on a \ ``memcached_st``\ and then use the resulting cloned
124structure.131structure.
125132
126133
=== modified file 'docs/memcached_callback.rst'
--- docs/memcached_callback.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_callback.rst 2011-04-18 19:22:31 +0000
@@ -41,73 +41,71 @@
41memcached_callback_set() changes the function/structure assigned by a41memcached_callback_set() changes the function/structure assigned by a
42callback flag. No connections are reset.42callback flag. No connections are reset.
4343
44You can use MEMCACHED_CALLBACK_USER_DATA to provide custom context if required for any 44You can use MEMCACHED_CALLBACK_USER_DATA to provide custom context if required for any of the callbacks.
45of the callbacks
4645
4746
48.. c:var:: MEMCACHED_CALLBACK_CLEANUP_FUNCTION47.. c:var:: MEMCACHED_CALLBACK_CLEANUP_FUNCTION
49 48
50 When memcached_delete() is called this function will be excuted. At the49When memcached_delete() is called this function will be excuted. At the point of its execution all connections are closed.
51 point of its execution all connections have been closed.
52 50
5351
5452
55.. c:var:: MEMCACHED_CALLBACK_CLONE_FUNCTION53.. c:var:: MEMCACHED_CALLBACK_CLONE_FUNCTION
56 54
57 When memcached_delete() is called this function will be excuted. At the55When memcached_delete() is called this function will be excuted. At the
58 point of its execution all connections have been closed.56point of its execution all connections are closed.
59 57
6058
6159
62.. c:var:: MEMCACHED_CALLBACK_PREFIX_KEY60.. c:var:: MEMCACHED_CALLBACK_PREFIX_KEY
63 61
64 You can set a value which will be used to create a domain for your keys.62You can set a value which will be used to create a domain for your keys.
65 The value specified here will be prefixed to each of your keys. The value can not63The value specified here will be prefixed to each of your keys. The value can not be greater then MEMCACHED_PREFIX_KEY_MAX_SIZE - 1 and will reduce MEMCACHED_MAX_KEY by the value of your key.
66 be greater then MEMCACHED_PREFIX_KEY_MAX_SIZE - 1 and will reduce MEMCACHED_MAX_KEY by64
67 the value of your key. The prefix key is only applied to the primary key,65The prefix key is only applied to the primary key, not the master key. MEMCACHED_FAILURE will be returned if no key is set. In the case of a key which is too long, MEMCACHED_BAD_KEY_PROVIDED will be returned.
68 not the master key. MEMCACHED_FAILURE will be returned if no key is set. In the case
69 of a key which is too long MEMCACHED_BAD_KEY_PROVIDED will be returned.
70 66
71 If you set a value with the value being NULL then the prefix key is disabled.67If you set a value with the value being NULL then the prefix key is disabled.
7268
7369
74.. c:var:: MEMCACHED_CALLBACK_USER_DATA70.. c:var:: MEMCACHED_CALLBACK_USER_DATA
75 71
76 This allows you to store a pointer to a specifc piece of data. This can be72This allows you to store a pointer to a specifc piece of data. This can be
77 retrieved from inside of memcached_fetch_execute(). Cloning a memcached_st73retrieved from inside of memcached_fetch_execute(). Cloning a memcached_st
78 will copy the pointer to the clone.74will copy the pointer to the clone.
79 75
8076
8177
82.. c:var:: MEMCACHED_CALLBACK_MALLOC_FUNCTION78.. c:var:: MEMCACHED_CALLBACK_MALLOC_FUNCTION
83 79
84 DEPRECATED: use memcached_set_memory_allocators instead.80DEPRECATED: use memcached_set_memory_allocators instead.
85 81
8682
8783
88.. c:var:: MEMCACHED_CALLBACK_REALLOC_FUNCTION84.. c:var:: MEMCACHED_CALLBACK_REALLOC_FUNCTION
89 85
90 DEPRECATED: use memcached_set_memory_allocators instead.86DEPRECATED: use memcached_set_memory_allocators instead.
91 87
9288
9389
94.. c:var:: MEMCACHED_CALLBACK_FREE_FUNCTION90.. c:var:: MEMCACHED_CALLBACK_FREE_FUNCTION
95 91
96 DEPRECATED: use memcached_set_memory_allocators instead.92DEPRECATED: use memcached_set_memory_allocators instead.
97 93
9894
9995
100.. c:var:: MEMCACHED_CALLBACK_GET_FAILURE96.. c:var:: MEMCACHED_CALLBACK_GET_FAILURE
101 97
102 This function implements the read through cache behavior. On failure of retrieval this callback will be called. 98This function implements the read through cache behavior. On failure of retrieval this callback will be called.
103 You are responsible for populating the result object provided. This result object will then be stored in the server and99
104 returned to the calling process. You must clone the memcached_st in order to100You are responsible for populating the result object provided. This result object will then be stored in the server and returned to the calling process.
105 make use of it. The value will be stored only if you return101
106 MEMCACHED_SUCCESS or MEMCACHED_BUFFERED. Returning MEMCACHED_BUFFERED will102You must clone the memcached_st in order to
107 cause the object to be buffered and not sent immediatly (if this is the default behavior based on your connection setup this will happen automatically).103make use of it. The value will be stored only if you return
104MEMCACHED_SUCCESS or MEMCACHED_BUFFERED. Returning MEMCACHED_BUFFERED will
105cause the object to be buffered and not sent immediatly (if this is the default behavior based on your connection setup this will happen automatically).
108 106
109 The prototype for this is:107The prototype for this is:
110 memcached_return_t (\*memcached_trigger_key)(memcached_st \*ptr, char \*key, size_t key_length, memcached_result_st \*result);108memcached_return_t (\*memcached_trigger_key)(memcached_st \*ptr, char \*key, size_t key_length, memcached_result_st \*result);
111 109
112110
113111
114112
=== modified file 'docs/memcached_delete.rst'
--- docs/memcached_delete.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_delete.rst 2011-04-18 19:22:31 +0000
@@ -25,8 +25,8 @@
25find the given value.25find the given value.
2626
27Expiration works by placing the item into a delete queue, which means that27Expiration works by placing the item into a delete queue, which means that
28it won't possible to retrieve it by the "get" command, but "add" and 28it won't be possible to retrieve it by the "get" command. The "add" and
29"replace" command with this key will also fail (the "set" command will 29"replace" commands with this key will also fail (the "set" command will
30succeed, however). After the time passes, the item is finally deleted from server memory.30succeed, however). After the time passes, the item is finally deleted from server memory.
3131
32Please note the the Danga memcached server removed tests for expiration in32Please note the the Danga memcached server removed tests for expiration in
3333
=== modified file 'docs/memcached_dump.rst'
--- docs/memcached_dump.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_dump.rst 2011-04-18 19:22:31 +0000
@@ -42,12 +42,12 @@
42-----------42-----------
4343
4444
45memcached_dump() is used to get a list of keys found memcached(1) servers.45memcached_dump() is used to get a list of keys found in memcached(1) servers.
46Because memcached(1) does not guarentee to dump all keys you can not assume46Because memcached(1) does not guarentee to dump all keys you can not assume
47you have fetched all keys from the server. The function takes an array47you have fetched all keys from the server. The function takes an array
48of callbacks that it will use to execute on keys as they are found.48of callbacks that it will use to execute on keys as they are found.
4949
50Currently the binar protocol is not testsed.50Currently the binary protocol is not testsed.
5151
5252
53------53------
5454
=== modified file 'docs/memcached_get.rst'
--- docs/memcached_get.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_get.rst 2011-04-18 19:22:31 +0000
@@ -65,7 +65,7 @@
65upon success and NULL will be returned on failure. MEMCACHD_END is returned65upon success and NULL will be returned on failure. MEMCACHD_END is returned
66by the \*error value when all objects that have been found are returned.66by the \*error value when all objects that have been found are returned.
67The final value upon MEMCACHED_END is null. Values returned by67The final value upon MEMCACHED_END is null. Values returned by
68memcached_fetch() musted be free'ed by the caller. memcached_fetch() will68memcached_fetch() must be freed by the caller. memcached_fetch() will
69be DEPRECATED in the near future, memcached_fetch_result() should be used69be DEPRECATED in the near future, memcached_fetch_result() should be used
70instead.70instead.
7171
@@ -89,7 +89,7 @@
89similar to memcached_mget(), but it may trigger the supplied callbacks89similar to memcached_mget(), but it may trigger the supplied callbacks
90with result sets while sending out the queries. If you try to perform90with result sets while sending out the queries. If you try to perform
91a really large multiget with memcached_mget() you may encounter a91a really large multiget with memcached_mget() you may encounter a
92deadlock in the OS kernel (we fail to write data to the socket because92deadlock in the OS kernel (it will fail to write data to the socket because
93the input buffer is full). memcached_mget_execute() solves this93the input buffer is full). memcached_mget_execute() solves this
94problem by processing some of the results before continuing sending94problem by processing some of the results before continuing sending
95out requests. Please note that this function is only available in the95out requests. Please note that this function is only available in the
@@ -100,9 +100,9 @@
100a master key that is used for determining which server an object was stored100a master key that is used for determining which server an object was stored
101if key partitioning was used for storage.101if key partitioning was used for storage.
102102
103All of the above functions are not testsed when the \ ``MEMCACHED_BEHAVIOR_USE_UDP``\ 103All of the above functions are not tested when the \ ``MEMCACHED_BEHAVIOR_USE_UDP``\
104has been set. Executing any of these functions with this behavior on will result in104has been set. Executing any of these functions with this behavior on will result in
105\ ``MEMCACHED_NOT_SUPPORTED``\ being returned or, for those functions which do not return105\ ``MEMCACHED_NOT_SUPPORTED``\ being returned, or for those functions which do not return
106a \ ``memcached_return_t``\ , the error function parameter will be set to106a \ ``memcached_return_t``\ , the error function parameter will be set to
107\ ``MEMCACHED_NOT_SUPPORTED``\ .107\ ``MEMCACHED_NOT_SUPPORTED``\ .
108108
109109
=== modified file 'docs/memcached_memory_allocators.rst'
--- docs/memcached_memory_allocators.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_memory_allocators.rst 2011-04-18 19:22:31 +0000
@@ -45,7 +45,7 @@
45-----------45-----------
4646
4747
48libmemcached(3) allows you to specify your own memory allocators optimized48libmemcached(3) allows you to specify your own memory allocators, optimized
49for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.49for your application. This enables libmemcached to be used inside of applications that have their own malloc implementation.
5050
51memcached_set_memory_allocators() is used to set the memory allocators used51memcached_set_memory_allocators() is used to set the memory allocators used
5252
=== modified file 'docs/memcached_result_st.rst'
--- docs/memcached_result_st.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_result_st.rst 2011-04-18 19:22:31 +0000
@@ -59,9 +59,9 @@
5959
60libmemcached(3) can optionally return a memcached_result_st which acts as a60libmemcached(3) can optionally return a memcached_result_st which acts as a
61result object. The result objects have added benefits over the character61result object. The result objects have added benefits over the character
62pointer returns in that they are forward compatible with new return items62pointer returns, in that they are forward compatible with new return items
63that future memcached servers may implement (the best current example of63that future memcached servers may implement (the best current example of
64this is the CAS return item). The structures can also be reused which will64this is the CAS return item). The structures can also be reused, which will
65save on calls to malloc(3). It is suggested that you use result objects over65save on calls to malloc(3). It is suggested that you use result objects over
66char \* return functions.66char \* return functions.
6767
@@ -72,7 +72,7 @@
72memcached_result_st or will initialize a structure passed to it.72memcached_result_st or will initialize a structure passed to it.
7373
74memcached_result_free() will deallocate any memory attached to the74memcached_result_free() will deallocate any memory attached to the
75structure. If the structure was also alloacted, it will deallocate it.75structure. If the structure was also allocated, it will deallocate it.
7676
77memcached_result_key_value() returns the key value associated with the77memcached_result_key_value() returns the key value associated with the
78current result object.78current result object.
@@ -91,7 +91,7 @@
9191
92memcached_result_cas() returns the cas associated with the92memcached_result_cas() returns the cas associated with the
93current result object. This value will only be available if the server93current result object. This value will only be available if the server
94testss it.94tests it.
9595
96memcached_result_set_value() takes a byte array and a size and sets96memcached_result_set_value() takes a byte array and a size and sets
97the result to this value. This function is used for trigger responses.97the result to this value. This function is used for trigger responses.
9898
=== modified file 'docs/memcached_sasl.rst'
--- docs/memcached_sasl.rst 2011-04-09 00:46:34 +0000
+++ docs/memcached_sasl.rst 2011-04-18 19:22:31 +0000
@@ -44,7 +44,7 @@
44Please note that SASL requires the memcached binary protocol, and you have44Please note that SASL requires the memcached binary protocol, and you have
45to specify the callbacks before you connect to the server.45to specify the callbacks before you connect to the server.
4646
47memcached_set_sasl_auth_data() is a helper function for you defining47memcached_set_sasl_auth_data() is a helper function defining
48the basic functionality for you, but it will store the username and password48the basic functionality for you, but it will store the username and password
49in memory. If you choose to use this method you have to call49in memory. If you choose to use this method you have to call
50memcached_destroy_sasl_auth_data before calling memcached_free to avoid50memcached_destroy_sasl_auth_data before calling memcached_free to avoid
5151
=== modified file 'docs/memcached_set.rst'
--- docs/memcached_set.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_set.rst 2011-04-18 19:22:31 +0000
@@ -49,8 +49,8 @@
49memcached_set(), memcached_add(), and memcached_replace() are all used to49memcached_set(), memcached_add(), and memcached_replace() are all used to
50store information on the server. All methods take a key, and its length to50store information on the server. All methods take a key, and its length to
51store the object. Keys are currently limited to 250 characters by the51store the object. Keys are currently limited to 250 characters by the
52memcached(1) server. You must also supply a value and a length. Optionally you52memcached(1) server. You must supply both a value and a length. Optionally you
53may tests an expiration time for the object and a 16 byte value (it is53may test an expiration time for the object and a 16 byte value (it is
54meant to be used as a bitmap).54meant to be used as a bitmap).
5555
56memcached_set() will write an object to the server. If an object already56memcached_set() will write an object to the server. If an object already
@@ -87,12 +87,12 @@
87the fastest way to store data on the server.87the fastest way to store data on the server.
8888
89All of the above functions are testsed with the \ ``MEMCACHED_BEHAVIOR_USE_UDP``\ 89All of the above functions are testsed with the \ ``MEMCACHED_BEHAVIOR_USE_UDP``\
90behavior enabled. But when using these operations with this behavior on, there 90behavior enabled. However, when using these operations with this behavior on, there
91are limits to the size of the payload being sent to the server. The reason for 91are limits to the size of the payload being sent to the server. The reason for
92these limits is that the Memcahed Server does not allow multi-datagram requests92these limits is that the Memcached Server does not allow multi-datagram requests
93and the current server implementation sets a datagram size to 1400 bytes. Due 93and the current server implementation sets a datagram size to 1400 bytes. Due
94to protocol overhead, the actual limit of the user supplied data is less than 94to protocol overhead, the actual limit of the user supplied data is less than
951400 bytes and depends on the protocol in use as well as the operation being 951400 bytes and depends on the protocol in use as, well as the operation being
96executed. When running with the binary protocol, \ `` MEMCACHED_BEHAVIOR_BINARY_PROTOCOL``\ , 96executed. When running with the binary protocol, \ `` MEMCACHED_BEHAVIOR_BINARY_PROTOCOL``\ ,
97the size of the key,value, flags and expiry combined may not exceed 1368 bytes. 97the size of the key,value, flags and expiry combined may not exceed 1368 bytes.
98When running with the ASCII protocol, the exact limit fluctuates depending on 98When running with the ASCII protocol, the exact limit fluctuates depending on
9999
=== modified file 'docs/memcached_version.rst'
--- docs/memcached_version.rst 2011-04-14 04:27:08 +0000
+++ docs/memcached_version.rst 2011-04-18 19:22:31 +0000
@@ -39,7 +39,7 @@
3939
4040
41memcached_lib_version() is used to return a simple version string representing41memcached_lib_version() is used to return a simple version string representing
42the libmemcached version (version of the client library, not server)42the libmemcached version (client library version, not server version)
4343
44memcached_version() is used to set the major, minor, and micro versions of each44memcached_version() is used to set the major, minor, and micro versions of each
45memcached server being used by the memcached_st connection structure. It returns the 45memcached server being used by the memcached_st connection structure. It returns the
4646
=== modified file 'docs/memcapable.rst'
--- docs/memcapable.rst 2011-04-14 04:27:08 +0000
+++ docs/memcapable.rst 2011-04-18 19:22:31 +0000
@@ -16,29 +16,29 @@
1616
17.. option:: -h hostname17.. option:: -h hostname
18 18
19 Specify the hostname to connect to. The default is \ *localhost*\ 19Specify the hostname to connect to. The default is \ *localhost*\
2020
21.. option:: -p port21.. option:: -p port
22 22
23 Specify the port number to connect to. The default is \ *11211*\ 23Specify the port number to connect to. The default is \ *11211*\
24 24
2525
2626
27.. option:: -c27.. option:: -c
28 28
29 Generate a coredump when it detects an error from the server.29Generate a coredump when it detects an error from the server.
30 30
3131
3232
33.. option:: -v33.. option:: -v
34 34
35 Print out the comparison when it detects an error from the server.35Print out the comparison when it detects an error from the server.
36 36
3737
3838
39.. option:: -t n39.. option:: -t n
40 40
41 Set the timeout from an IO operation to/from the server to \ *n*\ seconds.41Set the timeout from an IO operation to/from the server to \ *n*\ seconds.
42 42
43-----------43-----------
44DESCRIPTION44DESCRIPTION
4545
=== modified file 'docs/memcp.rst'
--- docs/memcp.rst 2011-04-14 04:27:08 +0000
+++ docs/memcp.rst 2011-04-18 19:22:31 +0000
@@ -26,11 +26,10 @@
26It is similar to the standard UNIX cp(1) command.26It is similar to the standard UNIX cp(1) command.
2727
28The key names will be the names of the files,28The key names will be the names of the files,
29without any directory path part.29without any directory path.
3030
31You can specify servers via the \ **--servers**\ option or via the31You can specify servers via the \ **--servers**\ option or via the
32environment variable \ ``MEMCACHED_SERVERS``\ . If you specify neither of32environment variable \ ``MEMCACHED_SERVERS``\. If you do not specify either these, the final value in the command line list is the name of a
33these, the final value in the command line list is the name of a
34server(s).33server(s).
3534
36For a full list of operations run the tool with the \ **--help**\ option.35For a full list of operations run the tool with the \ **--help**\ option.
3736
=== modified file 'docs/memdump.rst'
--- docs/memdump.rst 2011-04-14 04:27:08 +0000
+++ docs/memdump.rst 2011-04-18 19:22:31 +0000
@@ -21,7 +21,7 @@
21-----------21-----------
2222
2323
24\ **memdump**\ currently dumps a list of "keys" from all servers that 24\ **memdump**\ dumps a list of "keys" from all servers that
25it is told to fetch from. Because memcached does not guarentee to25it is told to fetch from. Because memcached does not guarentee to
26provide all keys it is not possible to get a complete "dump".26provide all keys it is not possible to get a complete "dump".
2727
2828
=== modified file 'docs/memerror.rst'
--- docs/memerror.rst 2011-04-14 04:27:08 +0000
+++ docs/memerror.rst 2011-04-18 19:22:31 +0000
@@ -3,7 +3,7 @@
3==============================================3==============================================
44
55
6Translate a memcached error code to a string6Translates a memcached error code into a string
77
88
9--------9--------
@@ -21,7 +21,7 @@
21-----------21-----------
2222
2323
24\ **memerror**\ translate an error code from libmemcached(3) to a human24\ **memerror**\ translate an error code from libmemcached(3) into a human
25readable string.25readable string.
2626
27For a full list of operations run the tool with the \ **--help**\ option.27For a full list of operations run the tool with the \ **--help**\ option.
2828
=== modified file 'docs/memflush.rst'
--- docs/memflush.rst 2011-04-14 04:27:08 +0000
+++ docs/memflush.rst 2011-04-18 19:22:31 +0000
@@ -22,7 +22,7 @@
2222
2323
24\ **memflush**\ resets the contents of memcached(1) servers.24\ **memflush**\ resets the contents of memcached(1) servers.
25This means all data in these servers will be deleted.25This means that all data in the specified servers will be deleted.
2626
27You can specify servers via the \ **--servers**\ option or via the27You can specify servers via the \ **--servers**\ option or via the
28environment variable \ ``MEMCACHED_SERVERS``\ .28environment variable \ ``MEMCACHED_SERVERS``\ .
2929
=== modified file 'docs/memslap.rst'
--- docs/memslap.rst 2011-04-11 05:22:20 +0000
+++ docs/memslap.rst 2011-04-18 19:22:31 +0000
@@ -20,12 +20,9 @@
2020
2121
22\ **memslap**\ is a load generation and benchmark tool for memcached(1)22\ **memslap**\ is a load generation and benchmark tool for memcached(1)
23servers. It generates configurable workload such as threads, concurrencies, connections,23servers. It generates configurable workload such as threads, concurrencies, connections, run time, overwrite, miss rate, key size, value size, get/set proportion, expected throughput, and so on.
24run time, overwrite, miss rate, key size, value size, get/set proportion,
25expected throughput, and so on.
2624
27You can specify servers via the \ **--servers**\ option or via the25You can specify servers via the \ **--servers**\ option or via the environment variable \ ``MEMCACHED_SERVERS``\ .
28environment variable \ ``MEMCACHED_SERVERS``\ .
2926
3027
31--------28--------

Subscribers

People subscribed via source and target branches

to all changes: