Release Notes
Announcements
Command | Compatible Version | Meaning |
set | Memcached protocol 1.6 | Set a key-value pair. If the key does not exist, it will create the key; if the key already exists, it will overwrite the old value. |
add | | Add a key-value pair to the cache, but only when the key does not exist. If the key already exists, however, the command does nothing. |
replace | | Replace a key-value pair in the cache, but only when the key already exists. If the key does not exist, however, the command does nothing. |
append | | Append data to the end of the existing value of a key. If the key does not exist, however, the command does nothing. |
prepend | | Prepend data to the beginning of the existing value of a key. If the key does not exist, however, the command does nothing. |
cas | | Compare and swap. This command first checks whether the current value of the key matches the provided value; if it does, the value is updated to the new one. |
get | | Retrieve the value of one or more keys from the cache. If no keys are found, an error will be returned. |
bget | | Batch Get. This is a binary protocol command used to retrieve the values of multiple keys from the cache. |
gets | | Similar to get, it obtains the value of a key in the cache and returns a version number. |
get_ext | | Extended binary protocol command that allows the client to specify more options to control the data retrieval process. |
gets_ext | | Extended command with versioning that allows the client to retrieve the value of a key while also obtaining a version number for subsequent atomic operations. |
delete | | Delete a key-value pair from the cache. If the key does not exist, however, the command does nothing. |
incr | | Increment the value of a key by a specified integer. If the key does not exist, an initial value can be specified. If the value of the key is not an integer, the operation will fail. |
decr | | Decrement the value of the key by the specified integer. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback