Memcached The Multiple The parameters are described as follows: In the following example, we use the In use gets command with the CAS token store value (data value)if key does not exist, empty is returned. 1.12.1. Syntax: ¶
gets basic syntax format of the command is as follows:gets key
key separated by spaces, as follows:gets key1 key2 key3
key :Key value key-value in the structure key used to find cached values 1.12.2. Example ¶
runoob as key the expiration time is set to 900 secondsset runoob 0 900 9
memcached
STORED
gets runoob
VALUE runoob 0 9 1
memcached
END
gets the output of the command, the number 1 in the last column represents key for runoob the CAS token of.