util_memoize_seed (public)

 util_memoize_seed script value [ max_age ]

Defined in packages/acs-tcl/tcl/memoize-procs-naviserver.tcl

Pretend util_memoize was called with script and it returned value. Cache value, replacing any previous cache entry for script.

If clustering is enabled, this command flushes script's value from the caches on all servers in the cluster before storing the new value. The new value is only stored in the local cache.

Parameters:
script (required)
A Tcl script that presumably would return value.
value (required)
The value to cache for script.
max_age (optional)
Not used.

Partial Call Graph (max 5 caller/called nodes):
%3 ad_set_client_property ad_set_client_property (public) util_memoize_seed util_memoize_seed ad_set_client_property->util_memoize_seed apidoc::tclcode_to_html apidoc::tclcode_to_html (public) apidoc::tclcode_to_html->util_memoize_seed auth::sync::job::get_authority_id_seed auth::sync::job::get_authority_id_seed (private) auth::sync::job::get_authority_id_seed->util_memoize_seed bug_tracker::bugs_exist_p_set_true bug_tracker::bugs_exist_p_set_true (public) bug_tracker::bugs_exist_p_set_true->util_memoize_seed workflow::action::get_all_info_not_cached workflow::action::get_all_info_not_cached (private) workflow::action::get_all_info_not_cached->util_memoize_seed util_memoize_flush util_memoize_flush (public) util_memoize_seed->util_memoize_flush

Testcases:
No testcase defined.
Source code:
    util_memoize_flush $script
    ns_cache_eval -force util_memoize $script [list set _ $value]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: