- Publicity: Public Only All
acs-cache-procs.tcl
Procedures in this file
- acs::disk_cache_eval (public)
- acs::disk_cache_flush (public)
Detailed information
acs::disk_cache_eval (public)
acs::disk_cache_eval -call call -key key -id id
Evaluate an expression. When the acs-tcl.DiskCache parameter is set, cache the result on the disk. If a cache already exists, return the cached value.
- Switches:
- -call
(required)- a Tcl snippet executed in the caller scope.
- -key
(required)- a key used to name the directory where the disk cache will be stored.
- -id
(required)- an id used to name the file where the disk cache will be stored. The name will also depend on a hash of the actual snippet.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- disk_cache
acs::disk_cache_flush (public)
acs::disk_cache_flush -key key -id id
Flushes the filesystem cache.
- Switches:
- -key
(required)- the key used to name the directory where the disk cache is stored.
- -id
(required)- the id used to name the file where the disk cache is stored.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- disk_cache