acs::Cache method flush_pattern (public)
<instance of acs::Cache> 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.
Source code: return [::acs::clusterwide ns_cache_flush -glob [:cache_name $partition_key] $pattern]XQL Not present: Generic, PostgreSQL, Oracle