acs::Cache method get_size (protected)

 <instance of acs::Cache[i]> get_size

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

Determine the cache size depending on configuration variables.

Testcases:
No testcase defined.
Source code:
set specifiedSize [::parameter::get_from_package_key  -package_key ${:package_key}  -parameter "${:parameter}Size"  -default ${:default_size}]
if {[::nsf::is integer $specifiedSize]} {
    set size $specifiedSize
} else {
    set size [ns_baseunit -size $specifiedSize]
}
return $size
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: