Memcached Get CAS Data - Memcached

What is Memcached get CAS command?

Get CAS command is used to get the value with CAS token. Here no value is returned if the key does not exist.


Here’s the syntax of Memcached gets command is as mentioned below –
More than one key can be supplied with space between them as shown here –


If you observe above output of gets command, then we see 1 at the end. This 1 is unique CAS token associated with key wisdomjobs.

Get CAS Data Using Java Application

Memcached gets method is used to retrieve data items stored with key.



Once you compel and execute the above program, you will get below output –

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

Memcached Topics