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