acs::HashKeyPartitionedCache method set (public)

 <instance of acs::HashKeyPartitionedCache[i]> set \
    -partition_key partition_key  key value

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

Set a single value in the cache. It transforms the partition key into a hash value. This code uses ns_cache_eval to achieve this behavior, which is typically an AOLserver idiom and should be avoided.

Switches:
-partition_key (required)
Parameters:
key (required)
value (required)

Testcases:
No testcase defined.
Source code:
next [list -partition_key [ns_hash $partition_key$pattern]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: