21.5. Enable JMX for CacheManagers
21.5. Enable JMX for CacheManagers At the CacheManager level, JMX statistics can be enabled either declaratively or programmatically, as follows. Enable JMX Declaratively at the CacheManager Level Add the following in the <global> element to enable JMX declaratively at the CacheManager level: Enable JMX Programmatically at the CacheManager Level Add the following code to programmatically enable JMX at the CacheManager level: Report a bug
<globalJmxStatistics enabled="true"/> GlobalConfiguration globalConfiguration = new GlobalConfigurationBuilder()..globalJmxStatistics().enable().build();