diff options
author | dormando <dormando@rydia.net> | 2020-03-07 13:20:52 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-03-07 13:20:52 -0800 |
commit | 9c8a1f4766551e4b7760feba0dd175705669c9b8 (patch) | |
tree | 32df2c0a26df6defa3e52cf707cc6a03eaec7c48 /doc | |
parent | 90afca6e051d1a474120de7419becb9fdfe1e4ec (diff) | |
download | memcached-9c8a1f4766551e4b7760feba0dd175705669c9b8.tar.gz |
meta: documentation fixes
Thanks to @shivnagarajan
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocol.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt index eb762be..263485a 100644 --- a/doc/protocol.txt +++ b/doc/protocol.txt @@ -740,6 +740,7 @@ E: "add" command. LRU bump and return NS if item exists. Else add. A: "append" command. If item exists, append the new value to its data. P: "prepend" command. If item exists, prepend the new value to its data. +R: "replace" command. Set only if item already exists. S: "set" command. The default mode, added for completeness. The "cas" command is supplanted by specifying the cas value with the 'C' flag. @@ -848,9 +849,10 @@ The flags used by the 'ma' command are: - C(token): compare CAS value (see mset) - N(token): auto create item on miss with supplied TTL - J(token): initial value to use if auto created after miss (default 0) -- D(token): delta to apply (unsigned int, default 1) +- D(token): delta to apply (decimal unsigned 64-bit number, default 1) - T(token): update TTL on success - M(token): mode switch to change between incr and decr modes. +- q: use noreply semantics for return codes (see details under mset) - t: return current TTL - c: return current CAS - v: return new value @@ -870,7 +872,7 @@ seeded using the J flag. - J(token): initial value -An unsigned integer which will be seeded as the value on a miss. Must be +An unsigned 64-bit integer which will be seeded as the value on a miss. Must be combined with an N flag. - D(token): delta to apply |