Interacting with Infinispan via JMX

Infinispan has a broad support for JMX in order to provide external access to monitor statistical information and control the cache data of each Infinispan instance, and it also provides two different levels of information, CacheManager and Cache.

The CacheManager level

By default, both levels are disabled. In the CacheManager level, you can extract global statistics for all cache instances managed from a given CacheManager object, as we could see earlier; CacheManager is the mechanism from which you can retrieve new cache instances.

If you are an Infinispan 6 user and you want to configure it declaratively, you can enable the monitoring characteristics of the CacheManager level using the <globalJMXStatistics> ...

Get Infinispan Data Grid Platform Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.