public class ServerInformationMBean extends AMQManagedObject implements ServerInformation
QPID_JMX_API_MAJOR_VERSION, QPID_JMX_API_MINOR_VERSION, TYPE
DOMAIN
Constructor and Description |
---|
ServerInformationMBean(ManagedObjectRegistry registry,
Broker broker) |
Modifier and Type | Method and Description |
---|---|
String |
getBuildVersion()
Attribute to represent the build version string.
|
protected long |
getBytesIn() |
protected long |
getBytesOut() |
protected T |
getConfiguredObject() |
double |
getDataDeliveryRate() |
double |
getDataReceiptRate() |
Integer |
getManagementApiMajorVersion()
Attribute to represent the major version number for the management API.
|
Integer |
getManagementApiMinorVersion()
Attribute to represent the minor version number for the management API.
|
double |
getMessageDeliveryRate() |
double |
getMessageReceiptRate() |
protected long |
getMessagesIn() |
protected long |
getMessagesOut() |
String |
getObjectInstanceName() |
ManagedObject |
getParentObject() |
double |
getPeakDataDeliveryRate() |
double |
getPeakDataReceiptRate() |
double |
getPeakMessageDeliveryRate() |
double |
getPeakMessageReceiptRate() |
String |
getProductVersion()
Attribute to represent the product version string.
|
long |
getTotalDataDelivered() |
long |
getTotalDataReceived() |
long |
getTotalMessagesDelivered() |
long |
getTotalMessagesReceived() |
protected void |
initStats() |
boolean |
isStatisticsEnabled()
Is statistics collection enabled for this connection.
|
void |
resetStatistics() |
protected void |
updateStats() |
addNotificationListener, getBroadcaster, incrementAndGetSequenceNumber, removeNotificationListener
getHierarchicalName, getHierarchicalType, getManagementInterface, getMBeanInfo, getNotificationInfo, getObjectName, getObjectNameForSingleInstanceMBean, getRegistry, getType, register, toString, unregister
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDataDeliveryRate, getDataReceiptRate, getMessageDeliveryRate, getMessageReceiptRate, getPeakDataDeliveryRate, getPeakDataReceiptRate, getPeakMessageDeliveryRate, getPeakMessageReceiptRate, getTotalDataDelivered, getTotalDataReceived, getTotalMessagesDelivered, getTotalMessagesReceived, resetStatistics
getNotificationInfo
public ServerInformationMBean(ManagedObjectRegistry registry, Broker broker) throws NotCompliantMBeanException, JMException
protected long getBytesOut()
protected long getBytesIn()
protected long getMessagesOut()
protected long getMessagesIn()
public String getObjectInstanceName()
getObjectInstanceName
in interface ManagedObject
public Integer getManagementApiMajorVersion() throws IOException
ServerInformation
getManagementApiMajorVersion
in interface ServerInformation
IOException
public Integer getManagementApiMinorVersion() throws IOException
ServerInformation
getManagementApiMinorVersion
in interface ServerInformation
IOException
public String getBuildVersion() throws IOException
ServerInformation
getBuildVersion
in interface ServerInformation
IOException
public String getProductVersion() throws IOException
ServerInformation
getProductVersion
in interface ServerInformation
IOException
public boolean isStatisticsEnabled()
ServerInformation
isStatisticsEnabled
in interface ServerInformation
public ManagedObject getParentObject()
getParentObject
in interface ManagedObject
getParentObject
in class DefaultManagedObject
protected void initStats()
protected void updateStats()
public double getPeakMessageDeliveryRate()
public double getPeakDataDeliveryRate()
public double getMessageDeliveryRate()
public double getDataDeliveryRate()
public long getTotalMessagesDelivered()
public long getTotalDataDelivered()
protected final T getConfiguredObject()
public double getPeakMessageReceiptRate()
public double getPeakDataReceiptRate()
public double getMessageReceiptRate()
public double getDataReceiptRate()
public long getTotalMessagesReceived()
public long getTotalDataReceived()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.