util_memoize_seed

one of the documented procedures in this installation of the ACS
Usage:
util_memoize_seed   tcl_statement   value   { oldest_acceptable_value_in_seconds "" }
What it does:
Seeds the memoize catch with a particular value. If clustering is enabled, flushes cached values from peers in the cluster.
Defined in: /web/philip/packages/acs-core/utilities-procs.tcl

Source code:


    if { [llength [info procs server_cluster_httpget_from_peers]] == 1 } {
	server_cluster_httpget_from_peers "/SYSTEM/flush-memoized-statement.tcl?statement=[ns_urlencode $tcl_statement]"
    }
    nsv_set util_memoize_cache_value $tcl_statement $value
    # store the time in seconds since 1970
    nsv_set util_memoize_cache_timestamp $tcl_statement [ns_time]


philg@mit.edu