acs::disk_cache_flush (public)

 acs::disk_cache_flush -key key -id id

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

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):
%3 test_disk_cache disk_cache (test acs-tcl) acs::disk_cache_flush acs::disk_cache_flush test_disk_cache->acs::disk_cache_flush ad_tmpdir ad_tmpdir (public) acs::disk_cache_flush->ad_tmpdir

Testcases:
disk_cache
Source code:
        set dir [ad_tmpdir]/oacs-cache/$key
        foreach file [glob -nocomplain $dir/$id-*] {
            file delete -- $file
            ns_log notice "FLUSH file delete -- $file"
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: