Class ::acs::KeyPartitionedCache (public)

 ::nx::Class ::acs::KeyPartitionedCache[i]

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

Partitioned cache, where the partition numbers are computed via a modulo function from the numeric keys.

Testcases:
No testcase defined.
Source code:
        :property {partitions:integer 1}

        :public method flush_pattern {{-partition_key:integer,required} pattern} {
            #
            # Flush just in the determined partition
            #
            next
        }

        #:public method flush {{-partition_key:integer,required} key} {
        #    next
        #}

        :public method set {{-partition_key:integer,required} key value} {
            #
            # Set a single value in the cache. This code uses
            # ns_cache_eval to achieve this behavior, which is
            # typically an AOLserver idiom and should be avoided.
            #
            next
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: