Note: expiry and flags are ignored.
Note: expiry and flags are ignored.
true if stored, false if not stored
Store a key but only if it doesn't already exist on the server.
Store a key but only if it doesn't already exist on the server.
true if stored, false if not stored
Note: expiry and flags are ignored.
Note: expiry and flags are ignored.
true if stored, false if not stored
Append a set of bytes to the end of an existing key.
Append a set of bytes to the end of an existing key. If the key doesn't exist, the operation has no effect.
true if stored, false if not stored
Checks if value is same as previous value, if not, do a swap and return true.
Checks if value is same as previous value, if not, do a swap and return true.
Note: expiry and flags are ignored.
true if replaced, false if not
Perform a CAS operation on the key, only if the value has not
changed since the value was last retrieved, and casUnique
extracted from a gets
command.
Perform a CAS operation on the key, only if the value has not
changed since the value was last retrieved, and casUnique
extracted from a gets
command. We treat the "cas unique" token
opaquely, but in reality it is a string-encoded u64.
true if replaced, false if not
Decrement a key.
Decrement a key. Interpret the value as an JLong if it is parsable. This operation has no effect if there is no value there already.
Remove a key.
Get a set of keys from the server.
Get a set of keys from the server.
a Map[String, T] of all of the keys that the server had.
Get a key from the server.
Get a key from the server.
Get a set of keys from the server.
Get a set of keys from the server. Returns a Future[GetResult] that encapsulates hits, misses and failures.
Get a set of keys from the server, together with a "cas unique" token.
Get a set of keys from the server, together with a "cas unique" token. The token is treated opaquely by the memcache client but is in reality a string-encoded u64.
a Map[String, (T, Buf)] of all the keys the server had, together with their "cas unique" token
Get a key from the server, with a "cas unique" token.
Get a key from the server, with a "cas unique" token. The token is treated opaquely by the memcache client but is in reality a string-encoded u64.
Get a set of keys from the server.
Get a set of keys from the server. Returns a Future[GetsResult] that encapsulates hits, misses and failures. This variant includes the casToken from memcached.
Increment a key.
Increment a key. Interpret the value as an Long if it is parsable. This operation has no effect if there is no value there already.
Note: expiry and flags are ignored.
Note: expiry and flags are ignored.
true if stored, false if not stored
Prepend a set of bytes to the beginning of an existing key.
Prepend a set of bytes to the beginning of an existing key. If the key doesn't exist, the operation has no effect.
true if stored, false if not stored
Send a quit command to the server.
Send a quit command to the server. Alternative to release, for protocol compatability.
none
release the underlying service(s)
release the underlying service(s)
Note: expiry and flags are ignored.
Note: expiry and flags are ignored.
true if stored, false if not stored
Replace an item if it exists.
Replace an item if it exists. If it doesn't exist, the operation has no effect.
true if stored, false if not stored
Note: expiry and flags are ignored.
Store a key.
Send a stats command with optional arguments to the server
Send a stats command with optional arguments to the server
a sequence of strings, each of which is a line of output
Adaptor to use Array[Byte] as values
Adaptor to use Array[Byte] as values
Adaptor to use String as values
Adaptor to use String as values
Map-based mock client for testing
Note: expiry and flags are ignored on update operations.