WIS_CACHE_THRESHOLD
WIS and WQS Process Configuration
Summary
This attribute defines the number of items that must exist in a work queue for it to be cached when the WIS
process starts normally.
Applies To
This attribute can only be used when a WIS
process starts normally.
Permissible Values
This attribute must be an integer in the range 0 to 500000.
Default Value
This attribute is not defined on a newly installed iProcess Engine node. In this case, the default value is:
Machine ID |
Process |
Instance |
Value |
0 |
WIS |
0 |
1000 |
This attribute only appears in the output of the SHOW_ALL_ATTRIBUTES
command if you have explicitly assigned a value to it using the SET_ATTRIBUTE
command. The default setting is not displayed.
Notes
A queue is usually cached in the following two situations:
• | When the WIS process first handles the queue (either on startup or after a MoveSysInfo operation). |
• | When the queue is first accessed by a client application. |
This attribute is only used when the WIS
process starts normally in conjunction with the WISCACHE
queue attribute to control whether a queue is cached:
• | If the value of WISCACHE is set to YES , the WIS process caches the queue (irrespective of how many work items there are in the queue). |
• | If WISCACHE is not created or set, the WIS process caches the queue if the number of work items in the queue equals or exceeds the value of the WIS_CACHE_ITEM attribute. |
For more information, see Configuring When WIS Processes Cache Their Queues.
See Also
RESTART_WIS_CACHE_THRESHOLD, WIS_CACHE_POOL_SIZE, WIS_CACHE_WAIT_TIME, WQS_PERSIST_SHMEM