acs::Cache method flush_pattern (public)

 <instance of acs::Cache[i]> flush_pattern \
    [ -partition_key partition_key ] pattern

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

Flush in the cache a value based on a pattern operation. Use this function rarely, since on large caches (e.g. 100k entries or more) the glob operation will cause long locks, which should be avoided. The partitioned variants can help to reduce the lock times.

Switches:
-partition_key (optional)
Parameters:
pattern (required)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: