HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Memcached gets order to obtainvalue (data value) stored with the CAS token, if the key does not exist, it returns null.
The basic syntax gets command is as follows:
gets key
A plurality of key separated by a space, as follows:
gets key1 key2 key3
Parameters are as follows:
In the following examples, we use w3resource as the key, set the expiration time of 900 seconds.
set w3resource 0 900 9 memcached STORED gets w3resource VALUE w3resource 0 9 1 memcached END
Using the output of the command gets results, at the end of one of the number 1 represents the key for the w3resource the CAS token.