Delete commands: delete
Deletion commands take the form:
delete key [time] [noreply]
Where:
• key: The key name.
• time: The time in seconds (or a specific Unix time) for which the client wishes the server to refuse
add or replace commands on this key. All add, replace, get, and gets commands fail during
this period. set operations succeed. After this period, the key is deleted permanently and all
commands are accepted.
If not supplied, the value is assumed to be zero (delete immediately).
• noreply: Tells the server not to reply to the command.
Responses to the command are either DELETED to indicate that the key was successfully removed,
or NOT_FOUND to indicate that the specified key could not be found.
... zobacz całą notatkę
Komentarze użytkowników (0)