Package com.hazelcast.jmx

The com.hazelcast.jmx package contains MBeans and a ManagementService for JMX management JMX support in Hazelcast.

See:
          Description

Class Summary
AbstractMBean<E> A generic class to instrument object with dynamic MBeans.
AtomicNumberMBean MBean for AtomicNumber
ClusterMBean The instrumentation MBean for the cluster.
CountDownLatchMBean MBean for ICountDownLatch
DataMBean Manager of data instances and collects general statistics.
ListMBean MBean for Collections
LockMBean MBean for Locks
ManagementService The management service instruments Hazelcast with MBeans required to use JMX monitoring tools.
ManagementService.ScheduledCollector  
MapEntryMBean MBean for MapEntry
MapMBean MBean for Map
MemberMBean The instrumentation MBean for a member.
MultiMapMBean MBean for MultiMap
ObjectNameSpec Handle JMX objectName
QueueMBean Management bean for Hazelcst Queue
SemaphoreMBean MBean for ISemaphore
SetMBean MBean for Set
TopicMBean Management bean for Hazelcst Topic
 

Annotation Types Summary
JMXAttribute Mark a method as an attribute accessor
JMXDescription Add a description
JMXOperation Mark a method as a JMX operation
 

Package com.hazelcast.jmx Description

The com.hazelcast.jmx package contains MBeans and a ManagementService for JMX management JMX support in Hazelcast. The ManagementService is intend to monitoring and debugging Hazelcast applications, not to interact or manage with it.

Use JConsole with Hazelcast

Monitoring applications can have a heavy impact on performance. By design, there are no dependencies from JMX into the core of Hazelcast and the JMX agent is disabled by default. To enable the JMX agent, you must set the system property
  -Dcom.hazelcast.jmx=true
when you start the Java virtual machine (JVM). For compatibility reasons, also starting with property com.sun.management.jmxremote will active the JMX agent.

Code usage overview

To create a MBean class, extend AbstractMBean and use annotation to define attributes and operations.



Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.