Object ::acs::per_request_cache (public)

 ::acs::LockfreeCache ::acs::per_request_cache[i]

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

Lockfree cache with per-request live time of the entries. The purpose of the per-request cache is to cache computation results of a single request. The entries of this cache are therefore very short-lived. Some values are needed multiple times per request, and/or they should show consistently the same value during the same request, no matter, if concurrently, a value is changed (e.g. permissions). The per-request cache uses a Tcl variable in the global Tcl namespace, such it will be automatically reclaimed after the request. The per-request cache uses the prefix "::__acs_cache".

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