acs::PartitionedCache method flush_all (public)

 <instance of acs::PartitionedCache[i]> flush_all \
    [ -partition_key partition_key ]

Defined in packages/acs-tcl/tcl/acs-cache-procs.tcl

Flush all entries in all partitions of a cache.

Switches:
-partition_key (optional)

Testcases:
No testcase defined.
Source code:
for {set i 0} {$i < ${:partitions}} {incr i} {
    ::acs::clusterwide ns_cache_flush ${:name}-$i
    #ns_log notice "flush_all: ns_cache_flush ${:name}-$i"
    #ns_log notice "... content of ${:name}-$i: [ns_cache_keys ${:name}-$i]"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: