cas

Check-and-Set an item; store data only if no one else has updated the item since its last fetch, determined with the cas token from the gets command. LSMCD assigns a unique 64-bit cas token to all items stored in it.

syntax:

cas <key> <flags> <TTL> <length> <cas unique key> [noreply]

parameters:

example:

cas mykey 0 120 10 2
abcdeabcde

STORED

output notes:

possible errors: