Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:lsmcd:commands [2016/04/07 15:41] Rob Holda |
litespeed_wiki:lsmcd:commands [2016/04/07 19:36] Rob Holda |
||
---|---|---|---|
Line 8: | Line 8: | ||
The following is a list of LSMCD commands useable in telnet, each with a brief description. For more information, see each command's page. | The following is a list of LSMCD commands useable in telnet, each with a brief description. For more information, see each command's page. | ||
- | [[litespeed_wiki:lsmcd:commands:get|get]] - Read the value tied to the user-provided key. | + | **[[litespeed_wiki:lsmcd:commands:get|get]]** - Read the value tied to the user-provided key. |
- | [[litespeed_wiki:lsmcd:commands:bget|bget]] - Read the binary value tied to the user-provided key. | + | **[[litespeed_wiki:lsmcd:commands:bget|bget]]** - Read the binary value tied to the user-provided key. |
- | [[litespeed_wiki:lsmcd:commands:gets|gets]] - Read the value tied to the user-provided key and its cas token (to be used with the [[litespeed_wiki:lsmcd:commands:cas|cas]] command). | + | **[[litespeed_wiki:lsmcd:commands:gets|gets]]** - Read the value tied to the user-provided key and its cas token (to be used with the **[[litespeed_wiki:lsmcd:commands:cas|cas]]** command). |
- | [[litespeed_wiki:lsmcd:commands:add|add]] - Add a key/value pair only if a pair does not already exist for the user-provided key. | + | **[[litespeed_wiki:lsmcd:commands:add|add]]** - Add a key/value pair only if a pair does not already exist for the user-provided key. |
- | [[litespeed_wiki:lsmcd:commands:set|set]] - Store a key/value pair. If a pair already exists for the user-provided key, overwrites it. | + | **[[litespeed_wiki:lsmcd:commands:set|set]]** - Store a key/value pair. If a pair already exists for the user-provided key, overwrites it. |
- | [[litespeed_wiki:lsmcd:commands:replace|replace]] - Store a key/value pair, but only if it already exists. | + | **[[litespeed_wiki:lsmcd:commands:replace|replace]]** - Store a key/value pair, but only if it already exists. |
- | [[litespeed_wiki:lsmcd:commands:append|append]] - Add data to an existing key after existing data. | + | **[[litespeed_wiki:lsmcd:commands:append|append]]** - Add data to an existing key after existing data. |
- | [[litespeed_wiki:lsmcd:commands:prepend|prepend]] - Add data to an existing key before existing data. | + | **[[litespeed_wiki:lsmcd:commands:prepend|prepend]]** - Add data to an existing key before existing data. |
- | [[litespeed_wiki:lsmcd:commands:cas|cas]] - Check-and-Set an item; store data only if no one else has updated since the last fetch, determined with the cas token from the [[litespeed_wiki:lsmcd:commands:gets|gets]] command. | + | **[[litespeed_wiki:lsmcd:commands:cas|cas]]** - Check-and-Set an item; store data only if no one else has updated since the last fetch, determined with the cas token from the **[[litespeed_wiki:lsmcd:commands:gets|gets]]** command. |
- | [[litespeed_wiki:lsmcd:commands:incr|incr]] - Increment a numerical key’s value by the given number if the key/value pair exists. | + | **[[litespeed_wiki:lsmcd:commands:incr|incr]]** - Increment a numerical key’s value by the given number if the key/value pair exists. |
- | [[litespeed_wiki:lsmcd:commands:decr|decr]] - Decrement a numerical key's value by the given number if the key/value pair exists. | + | **[[litespeed_wiki:lsmcd:commands:decr|decr]]** - Decrement a numerical key's value by the given number if the key/value pair exists. |
- | [[litespeed_wiki:lsmcd:commands:delete|delete]] - Delete an existing key/value pair. | + | **[[litespeed_wiki:lsmcd:commands:delete|delete]]** - Delete an existing key/value pair. |
- | [[litespeed_wiki:lsmcd:commands:touch|touch]] - Update the expiration time for a key/value pair without fetching it. | + | **[[litespeed_wiki:lsmcd:commands:touch|touch]]** - Update the expiration time for a key/value pair without fetching it. |
- | [[litespeed_wiki:lsmcd:commands:stats|stats]] - Print or reset general statistics. | + | **[[litespeed_wiki:lsmcd:commands:stats|stats]]** - Print or reset general statistics. |
- | [[litespeed_wiki:lsmcd:commands:flush_all|flush_all]] - Delete all key/value pairs immediately. | + | **[[litespeed_wiki:lsmcd:commands:flush_all|flush_all]]** - Delete all key/value pairs immediately. |
- | [[litespeed_wiki:lsmcd:commands:version|version]] - Print LSMCD server version. | + | **[[litespeed_wiki:lsmcd:commands:version|version]]** - Print LSMCD server version. |
- | [[litespeed_wiki:lsmcd:commands:quit|quit]] - Terminate telnet session. | + | **[[litespeed_wiki:lsmcd:commands:quit|quit]]** - Terminate telnet session. |
- | [[litespeed_wiki:lsmcd:commands:verbosity|verbosity]] - Change the verbosity level of the output of LSMCD. | + | **[[litespeed_wiki:lsmcd:commands:verbosity|verbosity]]** - Change the verbosity level of the output of LSMCD. |