|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.jmx.ManagementService
public class ManagementService
The management service instruments Hazelcast with MBeans required to use JMX monitoring tools.
Enabling JMX monitoring can have a heavy impact on a busy Hazelcast cluster, so the classes are not instrumented by default. To enable the JMX agent, set this system property when you start the JVM or Java application: -Dhazelcast.jmx=true for compatibility reason, also -Dcom.sun.management.jmxremote start the agent.
Nested Class Summary | |
---|---|
protected static class |
ManagementService.ScheduledCollector
|
Constructor Summary | |
---|---|
ManagementService(FactoryImpl instance)
|
Method Summary | |
---|---|
HazelcastInstance |
getInstance()
|
static com.hazelcast.jmx.StatisticsCollector |
newStatisticsCollector()
Create a new collector or return null if statistics are not enabled |
void |
register()
Register all the MBeans. |
static void |
shutdown()
Stop the management service |
void |
unregister()
Unregister a cluster instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagementService(FactoryImpl instance)
Method Detail |
---|
public HazelcastInstance getInstance()
public void register()
public void unregister()
public static void shutdown()
public static com.hazelcast.jmx.StatisticsCollector newStatisticsCollector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |