Memcached flush_all command
Memcached flush_all command is used to clear all key=>value(key=>value) pairs in the cache.
This command provides an optional parameter time, which is used to clear the cache after the specified time.
Syntax:
The basic syntax format of the flush_all command is as follows:
flush_all [time] [noreply]
Example
Clear cache:
set php 0 900 9 memcached STORED get php VALUE php 0 9 memcached END flush_all OK get php END