About the cache table
The cache table (located below the prefetch configuration text box) shows the following information about different cached objects and how they change:
- Object name — The type of object in the cache.
- Object count — The number of objects in the cache.
- Hit count — The number of times an object is found in the cache.
- Miss count — The number of times an object is not found in the cache.
- Last flush — The time that particular type of object was last flushed from the cache and the reason for the flush.
This table is useful for monitoring your application's performance. If objects are being flushed due to server definition changes, serious performance degradation can occur.
By default, cache statistics (hit count and miss count) are not displayed even though they are actually being collected. To enable cache statistics, see #Setting up a mid tier server to use cache table statistics.
Setting up a mid tier server to use cache table statistics
This section explains how to setup the object cache for a mid tier server so that cache statistics are enabled.
To setup a mid tier server to use cache table statistics
- Go to the ARSystemInstallFolder\midtier\WEB-INF\classes folder.
- Open the config.properties file.
- In the config.properties file, set arsystem.ehcache.enableStats to true.
- Save the config.properties file.
- Restart Tomcat.
The cache table statistics are now enabled.
To view the contents of the cache, access the following URL: