util_memoize_flush_regexp (public)
util_memoize_flush_regexp [ -log ] expr
Defined in packages/acs-tcl/tcl/memoize-procs.tcl
Loop through all cached entries, flushing all that match the regular expression that was passed in. It is recommended to use util_memoize_flush_pattern whenever possible, since glob-match is in most cases sufficient and much better performance-wise. the glob match can be better supported by the built-in set of the server.
- Switches:
- -log (optional, boolean)
- Whether to log keys checked and flushed (useful for debugging).
- Parameters:
- expr (required)
- The regular expression to match.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- util_memoize_cache_flush
Source code: ::acs::clusterwide util_memoize_flush_regexp_local {*}[expr {$log_p ? "-log" : ""}] $exprXQL Not present: Generic, PostgreSQL, Oracle