This documentation supports the 22.1 version of Action Request System.
To view an earlier version, select the version from the Product version menu.

Enabling cache statistics

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 set up a Mid Tier  server to use cache table statistics

  1. Go to the ARSystemInstallFolder\midtier\WEB-INF\classes folder.
  2. Open the config.properties file.
  3. In the config.properties file, set arsystem.ehcache.enableStats to true.
  4. Save the config.properties file.
  5. Restart Tomcat.
    The cache table statistics are now enabled.

To view the contents of the cache, access the following URL:

http://midTierServer:portNumber/arsys/shared/config/config_cache.jsp

Was this page helpful? Yes No Submitting... Thank you

Comments