Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Monitoring EhCache

Monitoring EhCache

Viewing the EhCache JMX

  1. Make sure your server is running.
  2. Start JConsole.
  3. Under the MBeans tab, expand the list named net.sf.ehcache.

Cache Statistics

Under CacheStatistics, you can view the statistics of individual caches by expanding the cache and selecting Attributes.

To clear statistics, select clearStatistics under Operations and click the clearStatistics button.

Cache Management

You can preform these operations on the cache under CacheManager:

  • shutdown
  • getCache
  • clearAll