com.hazelcast.jmx
Class TopicMBean
java.lang.Object
com.hazelcast.jmx.AbstractMBean<ITopic<?>>
com.hazelcast.jmx.TopicMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration
public class TopicMBean
- extends AbstractMBean<ITopic<?>>
Management bean for Hazelcst Topic
- Author:
- Marco Ferrante, DISI - University of Genoa
Methods inherited from class com.hazelcast.jmx.AbstractMBean |
getAttribute, getAttributes, getManagedObject, getMBeanInfo, getObjectName, getParentName, invoke, postDeregister, preRegister, refresh, setAttribute, setAttributes, setParentName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
protected MessageListener listener
TopicMBean
public TopicMBean(ITopic<?> topic,
ManagementService managementService)
getNameSpec
public ObjectNameSpec getNameSpec()
- Description copied from class:
AbstractMBean
- Override to provide a JMX name
- Overrides:
getNameSpec
in class AbstractMBean<ITopic<?>>
postRegister
public void postRegister(Boolean registrationDone)
- Description copied from class:
AbstractMBean
- From interface
MBeanRegistration
- Specified by:
postRegister
in interface MBeanRegistration
- Overrides:
postRegister
in class AbstractMBean<ITopic<?>>
preDeregister
public void preDeregister()
throws Exception
- Description copied from class:
AbstractMBean
- From interface
MBeanRegistration
- Specified by:
preDeregister
in interface MBeanRegistration
- Overrides:
preDeregister
in class AbstractMBean<ITopic<?>>
- Throws:
Exception
resetStats
public void resetStats()
- Resets statistics
getName
public String getName()
getConfig
public String getConfig()
getItemsReceived
public long getItemsReceived()
getItemsReceivedAvg
public double getItemsReceivedAvg()
getItemsReceivedMax
public double getItemsReceivedMax()
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.