Transformer SDK For C  7.1.9.29929-d422075
Configuration: Active Cache

Not used by Transformer


cache-add-exclude-pattern

Type: String Array
Default: None

By default the DataSource Active cache will cache all data broadcast by the DataSource application. Under certain circumstances this may not be desirable. As such, DataSource allows patterns to be specified which should a subject match, it will then be cached. The cache-add-exclude-pattern is applied to any cache-add-include-pattern directives to determine whether the symbol should be cached.

For example, given the following:

cache-add-include-pattern   ^/L/
cache-add-exclude-pattern   ^/L/A

This configuration example will cache all symbols within the /L/ namespace, except those that begin /L/A.


cache-add-include-pattern

Type: String Array
Default: None

By default the DataSource Active cache will cache all data broadcast by the DataSource application. Under certain circumstances this may not be desirable. As such, DataSource allows patterns to be specified which should a subject match, it will then be cached. The cache-add-exclude-pattern is applied to any cache-add-include-pattern directives to determine whether the symbol should be cached.

For example, given the following:

cache-add-include-pattern   ^/L/
cache-add-exclude-pattern   ^/L/A

This configuration example will cache all symbols within the /L/ namespace, except those that begin /L/A.


cache-add-object

Type: String Array
Default: None

Configure an object to be in the active cache


cache-hash-size

Type: Integer
Default: 1024

Size of Object Cache


cache-objects

Type: Boolean
Default: FALSE

Turn on Active Cache


add-cache-purge

Type: Function
Default: None

The add-cache-purge allows the contents to be purged on a periodic basis, for example when an update for a symbol has not be received for a period of time. The option has the following format:

add-purge   [regex] [TimeToPurge] [Age]

Where the subject to be purged should match the regular expression regex. [TimeToPurge] is the time of the day (minutes past midnight) to perform the purge and Age is the time in days that the last update for the symbol was received.



Generated on Mon Jul 20 2020 19:17:22 for Transformer SDK For C