- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::acs::PartitionedCache
::acs::PartitionedCache create ... \Partitioned cache infrastructure. Partition numbers are computed via a modulo function from the numeric keys.
[ -default_size (default "100KB") ] \
[ -maxentry:integer maxentry:integer ] \
[ -name name ] \
[ -package_key:required package_key:required ] \
[ -parameter:required parameter:required ] \
[ -partitions:integer (default "1") ] \
[ -timeout (default "5m") ]
Defined in packages/acs-tcl/tcl/acs-cache-procs.tcl
Class Relations
Methods (to be applied on instances)
flush_all (scripted, public)
<instance of acs::PartitionedCache> flush_all \ [ -partition_key partition_key ]Flush all entries in all partitions of a cache.
- Switches:
- -partition_key (optional)
- Testcases:
- No testcase defined.
init (scripted, public)
<instance of acs::PartitionedCache> initIf the name was not provided, use the object name as default for the cache name.
- Testcases:
- No testcase defined.
show_all (scripted, public)
<instance of acs::PartitionedCache> show_allLog all cache keys of all partitions to the system log. The primary usage is for debugging.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables