Get single key value with CAS value
gets keyWhere:
key (binary) -
Document ID used to identify the value
memcached text protocol
gets key
Returns: binary-string (
Binary object
)
Java (spymemcached)
client.gets(key)
Returns: CASValue (
Check and set object
)
client.gets(key, transcoder)
Returns: CASValue (
Check and set object
)
client.asyncGets(key)
Returns: Future<CASValue<Object>> (
Asynchronous request value, as CASValue, as Object
)
client.asyncGets(key, transcoder)
Returns: Future<CASValue<T>> (
Asynchronous request value, as CASValue as Transcoded object
)