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) |
long |
getCompIqs(String comp) |
long |
getCompMessages(String comp) |
List<String> |
getComponentsNames()
Get Attribute exposed for management
|
Map<String,String> |
getComponentStats(String compName,
int level)
Operation exposed for management
|
long |
getCompPackets(String comp) |
long |
getCompPresences(String comp) |
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() |
long |
getMessagesNumber()
Method description
|
float |
getMessagesNumberPerSec()
Method description
|
String |
getName()
Get Attribute exposed for management
|
float |
getNonHeapMemUsage()
Method description
|
MBeanNotificationInfo[] |
getNotificationInfo() |
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() |
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) |
int |
getStats(String cmp_name,
String stat,
int def) |
long |
getStats(String cmp_name,
String stat,
long def) |
String |
getStats(String cmp_name,
String stat,
String def) |
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)
StatisticsProviderMBeangetAllStats in interface StatisticsProviderMBeanlevel - Statistics level, 0 - All, 500 - Medium, 800 - Minimaljava.util.Map<String, String>public int getCLIOQueueSize()
StatisticsProviderMBeangetCLIOQueueSize in interface StatisticsProviderMBeanintpublic float[] getCLPacketsPerSecHistory()
StatisticsProviderMBeangetCLPacketsPerSecHistory in interface StatisticsProviderMBeanfloat[]public int getCLQueueSize()
StatisticsProviderMBeangetCLQueueSize in interface StatisticsProviderMBeanintpublic int getClusterCacheSize()
StatisticsProviderMBeangetClusterCacheSize in interface StatisticsProviderMBeanintpublic float getClusterCompressionRatio()
StatisticsProviderMBeangetClusterCompressionRatio in interface StatisticsProviderMBeanfloatpublic long getClusterNetworkBytes()
StatisticsProviderMBeangetClusterNetworkBytes in interface StatisticsProviderMBeanlongpublic float getClusterNetworkBytesPerSecond()
StatisticsProviderMBeangetClusterNetworkBytesPerSecond in interface StatisticsProviderMBeanfloatpublic long getClusterPackets()
StatisticsProviderMBeangetClusterPackets in interface StatisticsProviderMBeanlongpublic float getClusterPacketsPerSec()
StatisticsProviderMBeangetClusterPacketsPerSec in interface StatisticsProviderMBeanfloatpublic int getCompConnections(String comp)
public long getCompIqs(String comp)
public long getCompMessages(String comp)
public List<String> getComponentsNames()
StatisticsProviderMBeangetComponentsNames in interface StatisticsProviderMBeanList<String>public Map<String,String> getComponentStats(String compName, int level)
StatisticsProviderMBeangetComponentStats in interface StatisticsProviderMBeancompName - The component name to provide statistics forlevel - Statistics level, 0 - All, 500 - Medium, 800 - Minimaljava.util.Map<String, String>public long getCompPackets(String comp)
public long getCompPresences(String comp)
public int getConnectionsNumber()
StatisticsProviderMBeangetConnectionsNumber in interface StatisticsProviderMBeanintpublic int[] getConnectionsNumberHistory()
StatisticsProviderMBeangetConnectionsNumberHistory in interface StatisticsProviderMBeanint[]public int getCPUsNumber()
StatisticsProviderMBeangetCPUsNumber in interface StatisticsProviderMBeanintpublic float getCPUUsage()
StatisticsProviderMBeangetCPUUsage in interface StatisticsProviderMBeanfloatpublic float[] getCPUUsageHistory()
StatisticsProviderMBeangetCPUUsageHistory in interface StatisticsProviderMBeanfloat[]public Map<String,Object> getCurStats(String[] statsKeys)
StatisticsProviderMBeangetCurStats in interface StatisticsProviderMBeanstatsKeys - is a String[]Map<String,Object>public long getDirectMemUsed()
StatisticsProviderMBeangetDirectMemUsed in interface StatisticsProviderMBeanlongpublic long[] getDirectMemUsedHistory()
StatisticsProviderMBeangetDirectMemUsedHistory in interface StatisticsProviderMBeanlong[]public float getHeapMemUsage()
StatisticsProviderMBeangetHeapMemUsage in interface StatisticsProviderMBeanfloatpublic float[] getHeapUsageHistory()
StatisticsProviderMBeangetHeapUsageHistory in interface StatisticsProviderMBeanfloat[]public long getIQAuthNumber()
StatisticsProviderMBeangetIQAuthNumber in interface StatisticsProviderMBeanlongpublic long getIQOtherNumber()
StatisticsProviderMBeangetIQOtherNumber in interface StatisticsProviderMBeanlongpublic float getIQOtherNumberPerSec()
StatisticsProviderMBeangetIQOtherNumberPerSec in interface StatisticsProviderMBeanfloatpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanpublic long getMessagesNumber()
StatisticsProviderMBeangetMessagesNumber in interface StatisticsProviderMBeanlongpublic float getMessagesNumberPerSec()
StatisticsProviderMBeangetMessagesNumberPerSec in interface StatisticsProviderMBeanfloatpublic String getName()
StatisticsProviderMBeangetName in interface StatisticsProviderMBeanStringpublic float getNonHeapMemUsage()
StatisticsProviderMBeangetNonHeapMemUsage in interface StatisticsProviderMBeanfloatpublic MBeanNotificationInfo[] getNotificationInfo()
public long getPresencesNumber()
StatisticsProviderMBeangetPresencesNumber in interface StatisticsProviderMBeanlongpublic float getPresencesNumberPerSec()
StatisticsProviderMBeangetPresencesNumberPerSec in interface StatisticsProviderMBeanfloatpublic long getProcesCPUTime()
StatisticsProviderMBeangetProcesCPUTime in interface StatisticsProviderMBeanlongpublic long getQueueOverflow()
StatisticsProviderMBeangetQueueOverflow in interface StatisticsProviderMBeanlongpublic int getQueueSize()
StatisticsProviderMBeangetQueueSize in interface StatisticsProviderMBeanintpublic long getRegistered()
public int getServerConnections()
StatisticsProviderMBeangetServerConnections in interface StatisticsProviderMBeanintpublic int[] getServerConnectionsHistory()
StatisticsProviderMBeangetServerConnectionsHistory in interface StatisticsProviderMBeanint[]public long getSMPacketsNumber()
StatisticsProviderMBeangetSMPacketsNumber in interface StatisticsProviderMBeanlongpublic float getSMPacketsNumberPerSec()
StatisticsProviderMBeangetSMPacketsNumberPerSec in interface StatisticsProviderMBeanfloatpublic float[] getSMPacketsPerSecHistory()
StatisticsProviderMBeangetSMPacketsPerSecHistory in interface StatisticsProviderMBeanfloat[]public int getSMQueueSize()
StatisticsProviderMBeangetSMQueueSize in interface StatisticsProviderMBeanintpublic Map<String,LinkedList<Object>> getStatsHistory(String[] statsKeys)
StatisticsProviderMBeangetStatsHistory in interface StatisticsProviderMBeanstatsKeys - is a String[]Map<String,LinkedList<Object>>public String getSystemDetails()
StatisticsProviderMBeangetSystemDetails in interface StatisticsProviderMBeanStringpublic long getUptime()
StatisticsProviderMBeangetUptime in interface StatisticsProviderMBeanlongprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeanprotected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName in class StandardMBeanCopyright © 2015 "Tigase, Inc.". All rights reserved.