public class StatisticsProvider extends StandardMBean implements StatisticsProviderMBean
| Constructor and Description |
|---|
StatisticsProvider(StatisticsCollector theRef,
int historySize,
long updateInterval)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllStats(int level)
Operation exposed for management
|
int |
getCLIOQueueSize()
Method description
|
float[] |
getCLPacketsPerSecHistory()
Method description
|
int |
getCLQueueSize()
Method description
|
int |
getClusterCacheSize()
Method description
|
float |
getClusterCompressionRatio()
Method description
|
long |
getClusterNetworkBytes()
Method description
|
float |
getClusterNetworkBytesPerSecond()
Method description
|
long |
getClusterPackets()
Method description
|
float |
getClusterPacketsPerSec()
Method description
|
int |
getCompConnections(String comp)
Method description
|
long |
getCompIqs(String comp)
Method description
|
long |
getCompMessages(String comp)
Method description
|
List<String> |
getComponentsNames()
Get Attribute exposed for management
|
Map<String,String> |
getComponentStats(String compName,
int level)
Operation exposed for management
|
long |
getCompPackets(String comp)
Method description
|
long |
getCompPresences(String comp)
Method description
|
int |
getConnectionsNumber()
Method description
|
int[] |
getConnectionsNumberHistory()
Method description
|
int |
getCPUsNumber()
Method description
|
float |
getCPUUsage()
Method description
|
float[] |
getCPUUsageHistory()
Method description
|
Map<String,Object> |
getCurStats(String[] statsKeys)
Method description
|
protected String |
getDescription(MBeanAttributeInfo info)
Override customization hook: You can supply a customized description for
MBeanAttributeInfo.getDescription()
|
protected String |
getDescription(MBeanInfo info)
Override customization hook: You can supply a customized description for
MBeanInfo.getDescription()
|
protected String |
getDescription(MBeanOperationInfo info)
Override customization hook: You can supply a customized description for
MBeanOperationInfo.getDescription()
|
protected String |
getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook: You can supply a customized description for
MBeanParameterInfo.getDescription()
|
long |
getDirectMemUsed()
Method description
|
long[] |
getDirectMemUsedHistory()
Method description
|
float |
getHeapMemUsage()
Method description
|
float[] |
getHeapUsageHistory()
Method description
|
long |
getIQAuthNumber()
Method description
|
long |
getIQOtherNumber()
Method description
|
float |
getIQOtherNumberPerSec()
Method description
|
MBeanInfo |
getMBeanInfo()
Method description
|
long |
getMessagesNumber()
Method description
|
float |
getMessagesNumberPerSec()
Method description
|
String |
getName()
Get Attribute exposed for management
|
float |
getNonHeapMemUsage()
Method description
|
MBeanNotificationInfo[] |
getNotificationInfo()
Method description
|
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook: You can supply a customized description for
MBeanParameterInfo.getName()
|
long |
getPresencesNumber()
Method description
|
float |
getPresencesNumberPerSec()
Method description
|
long |
getProcesCPUTime()
Method description
|
long |
getQueueOverflow()
Method description
|
int |
getQueueSize()
Method description
|
long |
getRegistered()
Method description
|
int |
getServerConnections()
Method description
|
int[] |
getServerConnectionsHistory()
Method description
|
long |
getSMPacketsNumber()
Method description
|
float |
getSMPacketsNumberPerSec()
Method description
|
float[] |
getSMPacketsPerSecHistory()
Method description
|
int |
getSMQueueSize()
Method description
|
float |
getStats(String cmp_name,
String stat,
float def)
Method description
|
int |
getStats(String cmp_name,
String stat,
int def)
Method description
|
long |
getStats(String cmp_name,
String stat,
long def)
Method description
|
String |
getStats(String cmp_name,
String stat,
String def)
Method description
|
Map<String,LinkedList<Object>> |
getStatsHistory(String[] statsKeys)
Method description
|
String |
getSystemDetails()
Method description
|
long |
getUptime()
Method description
|
void |
stop()
Method description
|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic StatisticsProvider(StatisticsCollector theRef, int historySize, long updateInterval) throws NotCompliantMBeanException
theRef - historySize - updateInterval - NotCompliantMBeanExceptionpublic void stop()
public Map<String,String> getAllStats(int level)
getAllStats in interface StatisticsProviderMBeanlevel - public int getCLIOQueueSize()
getCLIOQueueSize in interface StatisticsProviderMBeanintpublic float[] getCLPacketsPerSecHistory()
getCLPacketsPerSecHistory in interface StatisticsProviderMBeanfloat[]public int getCLQueueSize()
getCLQueueSize in interface StatisticsProviderMBeanintpublic int getClusterCacheSize()
getClusterCacheSize in interface StatisticsProviderMBeanintpublic float getClusterCompressionRatio()
getClusterCompressionRatio in interface StatisticsProviderMBeanfloatpublic long getClusterNetworkBytes()
getClusterNetworkBytes in interface StatisticsProviderMBeanlongpublic float getClusterNetworkBytesPerSecond()
getClusterNetworkBytesPerSecond in interface StatisticsProviderMBeanfloatpublic long getClusterPackets()
getClusterPackets in interface StatisticsProviderMBeanlongpublic float getClusterPacketsPerSec()
getClusterPacketsPerSec in interface StatisticsProviderMBeanfloatpublic int getCompConnections(String comp)
comp - intpublic long getCompIqs(String comp)
comp - longpublic long getCompMessages(String comp)
comp - longpublic List<String> getComponentsNames()
getComponentsNames in interface StatisticsProviderMBeanListpublic Map<String,String> getComponentStats(String compName, int level)
getComponentStats in interface StatisticsProviderMBeancompName - level - public long getCompPackets(String comp)
comp - longpublic long getCompPresences(String comp)
comp - longpublic int getConnectionsNumber()
getConnectionsNumber in interface StatisticsProviderMBeanintpublic int[] getConnectionsNumberHistory()
getConnectionsNumberHistory in interface StatisticsProviderMBeanint[]public int getCPUsNumber()
getCPUsNumber in interface StatisticsProviderMBeanintpublic float getCPUUsage()
getCPUUsage in interface StatisticsProviderMBeanfloatpublic float[] getCPUUsageHistory()
getCPUUsageHistory in interface StatisticsProviderMBeanfloat[]public Map<String,Object> getCurStats(String[] statsKeys)
getCurStats in interface StatisticsProviderMBeanstatsKeys - is a String[]Mappublic long getDirectMemUsed()
getDirectMemUsed in interface StatisticsProviderMBeanlongpublic long[] getDirectMemUsedHistory()
getDirectMemUsedHistory in interface StatisticsProviderMBeanlong[]public float getHeapMemUsage()
getHeapMemUsage in interface StatisticsProviderMBeanfloatpublic float[] getHeapUsageHistory()
getHeapUsageHistory in interface StatisticsProviderMBeanfloat[]public long getIQAuthNumber()
getIQAuthNumber in interface StatisticsProviderMBeanlongpublic long getIQOtherNumber()
getIQOtherNumber in interface StatisticsProviderMBeanlongpublic float getIQOtherNumberPerSec()
getIQOtherNumberPerSec in interface StatisticsProviderMBeanfloatpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanMBeanInfopublic long getMessagesNumber()
getMessagesNumber in interface StatisticsProviderMBeanlongpublic float getMessagesNumberPerSec()
getMessagesNumberPerSec in interface StatisticsProviderMBeanfloatpublic String getName()
getName in interface StatisticsProviderMBeanStringpublic float getNonHeapMemUsage()
getNonHeapMemUsage in interface StatisticsProviderMBeanfloatpublic MBeanNotificationInfo[] getNotificationInfo()
MBeanNotificationInfo[]public long getPresencesNumber()
getPresencesNumber in interface StatisticsProviderMBeanlongpublic float getPresencesNumberPerSec()
getPresencesNumberPerSec in interface StatisticsProviderMBeanfloatpublic long getProcesCPUTime()
getProcesCPUTime in interface StatisticsProviderMBeanlongpublic long getQueueOverflow()
getQueueOverflow in interface StatisticsProviderMBeanlongpublic int getQueueSize()
getQueueSize in interface StatisticsProviderMBeanintpublic long getRegistered()
longpublic int getServerConnections()
getServerConnections in interface StatisticsProviderMBeanintpublic int[] getServerConnectionsHistory()
getServerConnectionsHistory in interface StatisticsProviderMBeanint[]public long getSMPacketsNumber()
getSMPacketsNumber in interface StatisticsProviderMBeanlongpublic float getSMPacketsNumberPerSec()
getSMPacketsNumberPerSec in interface StatisticsProviderMBeanfloatpublic float[] getSMPacketsPerSecHistory()
getSMPacketsPerSecHistory in interface StatisticsProviderMBeanfloat[]public int getSMQueueSize()
getSMQueueSize in interface StatisticsProviderMBeanintpublic long getStats(String cmp_name, String stat, long def)
cmp_name - stat - def - longpublic float getStats(String cmp_name, String stat, float def)
cmp_name - stat - def - floatpublic String getStats(String cmp_name, String stat, String def)
cmp_name - stat - def - Stringpublic int getStats(String cmp_name, String stat, int def)
cmp_name - stat - def - intpublic Map<String,LinkedList<Object>> getStatsHistory(String[] statsKeys)
getStatsHistory in interface StatisticsProviderMBeanstatsKeys - is a String[]Map> public String getSystemDetails()
getSystemDetails in interface StatisticsProviderMBeanStringpublic long getUptime()
getUptime in interface StatisticsProviderMBeanlongprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeaninfo - Stringprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeaninfo - Stringprotected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription in class StandardMBeanop - param - sequence - Stringprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeaninfo - Stringprotected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName in class StandardMBeanop - param - sequence - StringCopyright © 2014 "Tigase, Inc.". All rights reserved.