Vladsz83 commented on code in PR #10485:
URL: https://github.com/apache/ignite/pull/10485#discussion_r1083841496
##########
modules/core/src/main/java/org/apache/ignite/IgniteCache.java:
##########
@@ -1617,20 +1616,6 @@ public <T> IgniteFuture<Map<K, EntryProcessorResult<T>>>
invokeAllAsync(Set<? ex
*/
public CacheMetrics localMetrics();
- /**
- * Gets whole cluster MxBean for this cache.
- *
- * @return MxBean.
- */
- public CacheMetricsMXBean mxBean();
Review Comment:
JCache requires registration of these mx bean by calling
CacheManager#enableStatistics(), CacheManager#enableManagement() for example.
It doesn't require Cache#mxBean(). Otherwise, we'd have to override the method
and would'nt pass the jcache-tck tests. We remove statistics mx beans here. I
suggest to hide any related interfaces and calls. WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]