Memcached flush_all Command

The Memcached flush_all command is used to clear allkey=>valuepairs.

This command provides an optional parametertime, which is 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 the cache:

set example 0 900 9
memcached
STORED
get example
VALUE example 0 9
memcached
END
flush_all
OK
get example
END
Other Extensions