ns_cache proc create (public)

 ns_cache[i] create [ -size size ] [ -timeout timeout ] cache_name

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

expire in NS means timeout in AOLserver

Switches:
-size (optional, defaults to "1024000")
-timeout (optional)
Parameters:
cache_name (required)

Testcases:
No testcase defined.
Source code:
# expire in NS means timeout in AOLserver
if {[info exists timeout]} {
    set create_cmd "ns_cache_create -expires $timeout $cache_name $size"
} else {
    set create_cmd "ns_cache_create $cache_name $size"
}
return  [{*}$create_cmd]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: