Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:lsmcd:interaction [2016/04/06 18:13] Rob Holda [add] |
litespeed_wiki:lsmcd:interaction [2016/04/06 19:25] Rob Holda [delete] |
||
---|---|---|---|
Line 20: | Line 20: | ||
<code> | <code> | ||
get mykey | get mykey | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
VALUE mykey 0 10 | VALUE mykey 0 10 | ||
- | myvalueabc | + | myvalueabc |
- | END | + | END |
</code> | </code> | ||
- | **output notes:** | + | **notes:** |
* **0** → no flags | * **0** → no flags | ||
* **10** → Size in bytes | * **10** → Size in bytes | ||
Line 43: | Line 41: | ||
<code> | <code> | ||
bget mykey | bget mykey | ||
- | </code> | + | |
- | **output:** | + | VALUE mykey 0 10 |
- | <code>VALUE mykey 0 10 | + | 1011101010 |
- | myvalueabc | + | END</code> |
- | END</code> | + | |
**output notes:** | **output notes:** | ||
* **0** → no flags | * **0** → no flags | ||
Line 63: | Line 60: | ||
<code> | <code> | ||
gets mykey | gets mykey | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
VALUE mykey 0 10 9 | VALUE mykey 0 10 9 | ||
- | myvalueabc | + | myvalueabc |
- | END | + | END |
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 85: | Line 80: | ||
<code> | <code> | ||
add newkey 0 120 10 | add newkey 0 120 10 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
myvalueabc | myvalueabc | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 107: | Line 100: | ||
<code> | <code> | ||
set mykey 0 120 10 | set mykey 0 120 10 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
myvalueabc | myvalueabc | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 130: | Line 121: | ||
<code> | <code> | ||
replace mykey 0 120 10 | replace mykey 0 120 10 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
myvalueabc | myvalueabc | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 152: | Line 141: | ||
<code> | <code> | ||
append mykey 0 120 10 | append mykey 0 120 10 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
defghijklm | defghijklm | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 174: | Line 161: | ||
<code> | <code> | ||
prepend mykey 0 120 10 | prepend mykey 0 120 10 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
abcdeabcde | abcdeabcde | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 196: | Line 181: | ||
<code> | <code> | ||
cas mykey 0 120 10 2 | cas mykey 0 120 10 2 | ||
- | </code> | ||
- | **output:** | ||
- | <code> | ||
abcdeabcde | abcdeabcde | ||
- | STORED | + | |
+ | STORED | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
Line 218: | Line 201: | ||
<code> | <code> | ||
incr mykey 4 | incr mykey 4 | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
5 | 5 | ||
</code> | </code> | ||
Line 237: | Line 218: | ||
<code> | <code> | ||
decr mykey 3 | decr mykey 3 | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
2 | 2 | ||
</code> | </code> | ||
Line 256: | Line 235: | ||
<code> | <code> | ||
delete mykey | delete mykey | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
DELETED | DELETED | ||
</code> | </code> |