<div dir="ltr">Recently I have been working on [1]. Calculating this value is not a hard task. However as usual the hardest thing is where does this live and what is its name.<div><br></div><div>In regards to its location I have a few places I was thinking:</div><div><br></div><div>1. CacheImpl/CacheManagerImpl - it would just be an exposed ManagedAttribute</div><div>This is my least favorite.</div><div><br></div><div>2. CacheMgmtInterceptor/Stats/ClusterStats</div><div>This is available at both cache and cluster levels, but this isn&#39;t really a stat. However this one is the only option I found that actually aggregates all nodes data to be presented, which would give a better estimate (since each node can have a varying amount of data they could each have a different idea of required node count).</div><div><br></div><div>3. CacheHealth/ClusterHealth</div><div>This is available at both cache and cluster levels. However these were designed for health checks, but it seems like a legitimate place to me. The only problem is the values aren&#39;t aggregated and just called from 1 node.</div><div><br></div><div>I am personally leaning towards #2 or #3. Also I am open if we have other alternatives I am not aware of :) Let me know what you all think?<br><div><br></div><div>[1] <a href="https://issues.jboss.org/browse/ISPN-6879">https://issues.jboss.org/browse/ISPN-6879</a></div></div></div>