Configuration of the Pageflow Engine
The pageflow engine runs in memory. The properties in the PFEConfig.properties file are used to tune the cache for the pageflow engine for best performance.
See PFEConfig.properties.
Cache Size
The cacheSizeLimit property specifies the maximum size of the pageflow engine’s cache. Once this size is reached, each time a new pageflow is added the oldest one is removed. The default is 1000:
cacheSizeLimit=1000
The cacheTimeout property specifies how long a pageflow instance will be retained in the cache once it has started. It is specified in minutes and defaults to 60:
cacheTimeout=60
Cleaning the Cache
The enableCleanupThread property is a flag that specifies whether or not to enable a cleanup thread. If enabled, this thread removes stale pageflow instances from the cache based on their age. It defaults to not being enabled:
enableCleanupThread=false
The cleanupInterval property specifies how frequently the cleanup thread wakes up to remove stale pageflow instances from the cache. It is specified in minutes and defaults to 30:
cleanupInterval=30