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