Memcached flush_all command is used to clean up all in the cache key=>value (key = > value) right.
This command provides an optional parameter The Clean up the cache: time used to perform a cache cleanup operation after the specified time 1.19.1. Syntax: ¶
flush_all basic syntax format of the command is as follows:flush_all [time] [noreply]
1.19.2. Example ¶
set runoob 0 900 9
memcached
STORED
get runoob
VALUE runoob 0 9
memcached
END
flush_all
OK
get runoob
END