Automatically Purging Entries from the Participant Cache
You can add the following properties to the wt.properties file to automatically purge cache entries:
The wt.principal.cache.timeToLive property defines the amount of time that any given participant cache entry is available from the cache. Specify the property value in seconds. If the property value is not set or is set to zero or less than zero, then cache entries are not automatically removed from the cache. Out of the box, this property is not set.
The wt.principal.cache.timeToLiveRandomizer property adds a random amount of time to the time stamp of each cache entry so that a large number of entries do not expire at the same time. Specify the property value in seconds. If the property is not set, the value defaults to 600 seconds (10 minutes). If the property is set to zero or set to less than zero, then no random value is added to the time stamp of each cache entry. Out of the box, this property is not set.
When a valid value is specified, the random amount added to the time stamp varies between 1 second and the property value. For example, if the property value is 600 seconds (10 minutes), a value between 1 second and 600 seconds is added to the time stamp of a cache entry when the entry is added to the cache.
Use the xconfmanager utility to add the properties. For example to add the wt.principal.cache.timeToLive property, specify the following xconfmanager command from a windchill shell:
xconfmanager -s wt.principal.cache.timeToLive=600
-t <Windchill>/codebase/wt.properties -p
Where <Windchill> is the location where Windchill is installed.
For more information about using the xconfmanager utility, see About the xconfmanager Utility.
War dies hilfreich?