Skip to main content
A Open Source Solution
Home Download Support Configuration Development ImagoX

The timed watchable container periodically scans TimedWatchable entries and updates their timestamps. If the entry is stale (untouched) it is removed from the cache. Changes to source files will only be detected during a scan.

The cache is implemented with a SoftReference so any items may be removed by the garbage collector when trying to free up heap space. This only works if the time check value is fairly high with respect to the demands on the system.

timedwatchable.timecheck=30
The frequency in minutes at which the cache is scanned (default 30 minutes). Setting timecheck value to 0 (zero) forces a timecheck on every request. This is useful on a development system.
timedwatchable.priority=1
The priority at which the scanning thread runs (default Thread.NORM_PRIORITY).
timedwatchable.maxage=15
The maximum age in minutes of an untouched entry (default 15 minutes). If an entry has not been used within this time it is removed.
All trademarks and copyrights are the property of their respective owners.
Copyright © 2002-2004 by Xenei.com, All Rights Reserved
OpenSource.org
AnyBrowser.org
Xenei.org - Open Source Solutions