acs::PartitionedCache method flush_pattern_in_all_partitions (protected)

 <instance of acs::PartitionedCache[i]> flush_pattern_in_all_partitions \
    pattern

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

Flush matching entries in all partitions of a cache based on a pattern.

Parameters:
pattern (required)

Testcases:
No testcase defined.
Source code:
for {set i 0} {$i < ${:partitions}} {incr i} {
    ::acs::clusterwide ns_cache_flush -glob ${:name}-$i $pattern
    ns_log notice "flush_pattern_in_all_partitions: ns_cache_flush ${:name}-$i $pattern"
    #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: