|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.jmx.AbstractMBean<HazelcastInstance> com.hazelcast.jmx.DataMBean
public class DataMBean
Manager of data instances and collects general statistics.
Field Summary |
---|
Fields inherited from class com.hazelcast.jmx.AbstractMBean |
---|
managementService, mbeanServer |
Constructor Summary | |
---|---|
protected |
DataMBean(ManagementService managementService)
|
Method Summary | |
---|---|
int |
getInstanceCount()
|
long |
getInstancesCreated()
|
double |
getInstancesCreatedAvg()
|
double |
getInstancesCreatedMax()
|
long |
getInstancesDestroyed()
|
double |
getInstancesDestroyedAvg()
|
double |
getInstancesDestroyedMax()
|
ObjectNameSpec |
getNameSpec()
Override to provide a JMX name |
void |
instanceCreated(InstanceEvent event)
|
void |
instanceDestroyed(InstanceEvent event)
|
void |
postDeregister()
From interface MBeanRegistration |
void |
postRegister(Boolean registrationDone)
From interface MBeanRegistration |
void |
preDeregister()
From interface MBeanRegistration |
void |
registerInstance(Object instance)
|
void |
resetStats()
Resets statistics |
void |
unregisterInstance(Object instance)
|
Methods inherited from class com.hazelcast.jmx.AbstractMBean |
---|
getAttribute, getAttributes, getManagedObject, getMBeanInfo, getObjectName, getParentName, invoke, preRegister, refresh, setAttribute, setAttributes, setParentName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DataMBean(ManagementService managementService)
Method Detail |
---|
public ObjectNameSpec getNameSpec()
AbstractMBean
getNameSpec
in class AbstractMBean<HazelcastInstance>
public void postRegister(Boolean registrationDone)
AbstractMBean
MBeanRegistration
postRegister
in interface MBeanRegistration
postRegister
in class AbstractMBean<HazelcastInstance>
public void preDeregister() throws Exception
AbstractMBean
MBeanRegistration
preDeregister
in interface MBeanRegistration
preDeregister
in class AbstractMBean<HazelcastInstance>
Exception
public void postDeregister()
AbstractMBean
MBeanRegistration
postDeregister
in interface MBeanRegistration
postDeregister
in class AbstractMBean<HazelcastInstance>
public void instanceCreated(InstanceEvent event)
instanceCreated
in interface InstanceListener
public void instanceDestroyed(InstanceEvent event)
instanceDestroyed
in interface InstanceListener
public void registerInstance(Object instance)
public void unregisterInstance(Object instance)
public void resetStats()
public int getInstanceCount()
public long getInstancesCreated()
public double getInstancesCreatedAvg()
public double getInstancesCreatedMax()
public long getInstancesDestroyed()
public double getInstancesDestroyedAvg()
public double getInstancesDestroyedMax()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |