acs::PartitionedCache method cache_name (protected)

 <instance of acs::PartitionedCache[i]> cache_name key

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

Return the cache_name always as the same Tcl_Obj (list element) rather than concatenating always a fresh Tcl_Obj dynamically the fly (type string). Caching the cache structure in the dynamic Tcl_Obj can't not work.

Parameters:
key (required, integer)

Testcases:
No testcase defined.
Source code:
return [lindex ${:partition_names} [expr {$key % ${:partitions}}]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: