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:55] Rob Holda [get] |
litespeed_wiki:lsmcd:interaction [2016/04/06 19:29] Rob Holda [flush_all] |
||
---|---|---|---|
Line 41: | 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 61: | 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 83: | 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 105: | 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 128: | 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 150: | 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 172: | 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 194: | 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 216: | Line 201: | ||
<code> | <code> | ||
incr mykey 4 | incr mykey 4 | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
5 | 5 | ||
</code> | </code> | ||
Line 235: | Line 218: | ||
<code> | <code> | ||
decr mykey 3 | decr mykey 3 | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
2 | 2 | ||
</code> | </code> | ||
Line 254: | Line 235: | ||
<code> | <code> | ||
delete mykey | delete mykey | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
DELETED | DELETED | ||
</code> | </code> | ||
Line 270: | Line 249: | ||
<code> | <code> | ||
touch mykey 1200 | touch mykey 1200 | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
TOUCHED | TOUCHED | ||
</code> | </code> | ||
Line 288: | Line 265: | ||
<code> | <code> | ||
stats | stats | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
STAT pid 16825 | STAT pid 16825 | ||
STAT version 1.0.0 | STAT version 1.0.0 | ||
Line 320: | Line 295: | ||
<code> | <code> | ||
stats reset | stats reset | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
RESET | RESET | ||
</code> | </code> | ||
Line 336: | Line 309: | ||
<code> | <code> | ||
flush_all | flush_all | ||
- | </code> | + | |
- | **output:** | + | |
- | <code> | + | |
OK | OK | ||
</code> | </code> |