Module: MemcachedServer::Reply
- Defined in:
- lib/memcached-server/constants.rb
Constant Summary collapse
- STORED =
To indicate success.
"STORED\n".freeze
- NOT_STORED =
To indicate the data was not stored, but not because of an error. This normally means that the condition for an “add” or a “replace” command wasn’t met.
"NOT_STORED\n".freeze
- EXISTS =
To indicate that the item you are trying to store with a “cas” command has been modified since you last fetched it.
"EXISTS\n".freeze
- NOT_FOUND =
To indicate that the item you are trying to store with a “cas” command did not exist.
"NOT_FOUND\n".freeze
- GET =
Each item sent by the server looks like this
"VALUE %s %d %d\n%s\n".freeze
- GETS =
"VALUE %s %d %d %d\n%s\n".freeze
- END_ =
"END\n".freeze