• Bug
  • Status: New
  • 2 Major
  • Resolution:
  • ljacomet
  • Reporter: candrews
  • December 02, 2013
  • 0
  • Watchers: 5
  • December 24, 2013

Description

The CacheStatistics mbean http://ehcache.org/apidocs/net/sf/ehcache/management/CacheStatisticsMBean.html should have a fields for localHeapSizeInBytes, localOffHeapSizeInBytes, and localDiskSizeInBytes.

These fields are important important to understanding if the Automatic Resource Allocation is working correctly.

Exposing this data appears like it would be very easy to do…

* add long (localHeapSizeInBytes, localOffHeapSizeInBytes, and localDiskSizeInBytes) to net.sf.ehcache.management.CacheStatisticsMBean * add long (localHeapSizeInBytes, localOffHeapSizeInBytes, and localDiskSizeInBytes) to net.sf.ehcache.management.CacheStatistics that calls ehcache.(localHeapSizeInBytes, localOffHeapSizeInBytes, and localDiskSizeInBytes)()

Comments

James House 2013-12-09

for review

Louis Jacomet Jacomet 2013-12-17

It is already exposed through MBeans used by the TMC. So we should first define a plan with regards to JMX in Ehcache.

Louis Jacomet Jacomet 2013-12-20

Given the comment above, I would target this for Yorba.