|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.jmx.AbstractMBean<IQueue<?>> com.hazelcast.jmx.QueueMBean
public class QueueMBean
Management bean for Hazelcst Queue
Field Summary | |
---|---|
protected ItemListener |
listener
|
Fields inherited from class com.hazelcast.jmx.AbstractMBean |
---|
logger, managementService, mbeanServer |
Constructor Summary | |
---|---|
QueueMBean(IQueue<?> queue,
ManagementService managementService)
|
Method Summary | |
---|---|
void |
clear()
Clear queue |
String |
getConfig()
|
long |
getItemsReceived()
|
double |
getItemsReceivedAvg()
|
double |
getItemsReceivedMax()
|
long |
getItemsServed()
|
double |
getItemsServedAvg()
|
double |
getItemsServedMax()
|
String |
getName()
|
ObjectNameSpec |
getNameSpec()
Override to provide a JMX name |
void |
postRegister(Boolean registrationDone)
From interface MBeanRegistration |
void |
preDeregister()
From interface MBeanRegistration |
void |
resetStats()
Resets statistics |
int |
size()
|
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 |
Field Detail |
---|
protected ItemListener listener
Constructor Detail |
---|
public QueueMBean(IQueue<?> queue, ManagementService managementService)
Method Detail |
---|
public ObjectNameSpec getNameSpec()
AbstractMBean
getNameSpec
in class AbstractMBean<IQueue<?>>
public void postRegister(Boolean registrationDone)
AbstractMBean
MBeanRegistration
postRegister
in interface MBeanRegistration
postRegister
in class AbstractMBean<IQueue<?>>
public void preDeregister() throws Exception
AbstractMBean
MBeanRegistration
preDeregister
in interface MBeanRegistration
preDeregister
in class AbstractMBean<IQueue<?>>
Exception
public void resetStats()
public void clear()
public String getName()
public String getConfig()
public int size()
public long getItemsReceived()
public double getItemsReceivedAvg()
public double getItemsReceivedMax()
public long getItemsServed()
public double getItemsServedAvg()
public double getItemsServedMax()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |