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, setImplementation
public StatisticsProvider(StatisticsCollector theRef, int historySize, long updateInterval) throws NotCompliantMBeanException
theRef
- historySize
- updateInterval
- NotCompliantMBeanException
public void stop()
public Map<String,String> getAllStats(int level)
StatisticsProviderMBean
getAllStats
in interface StatisticsProviderMBean
level
- Statistics level, 0 - All, 500 - Medium, 800 - Minimaljava.util.Map<String, String>
public int getCLIOQueueSize()
StatisticsProviderMBean
getCLIOQueueSize
in interface StatisticsProviderMBean
int
public float[] getCLPacketsPerSecHistory()
StatisticsProviderMBean
getCLPacketsPerSecHistory
in interface StatisticsProviderMBean
float[]
public int getCLQueueSize()
StatisticsProviderMBean
getCLQueueSize
in interface StatisticsProviderMBean
int
public int getClusterCacheSize()
StatisticsProviderMBean
getClusterCacheSize
in interface StatisticsProviderMBean
int
public float getClusterCompressionRatio()
StatisticsProviderMBean
getClusterCompressionRatio
in interface StatisticsProviderMBean
float
public long getClusterNetworkBytes()
StatisticsProviderMBean
getClusterNetworkBytes
in interface StatisticsProviderMBean
long
public float getClusterNetworkBytesPerSecond()
StatisticsProviderMBean
getClusterNetworkBytesPerSecond
in interface StatisticsProviderMBean
float
public long getClusterPackets()
StatisticsProviderMBean
getClusterPackets
in interface StatisticsProviderMBean
long
public float getClusterPacketsPerSec()
StatisticsProviderMBean
getClusterPacketsPerSec
in interface StatisticsProviderMBean
float
public int getCompConnections(String comp)
public long getCompIqs(String comp)
public long getCompMessages(String comp)
public List<String> getComponentsNames()
StatisticsProviderMBean
getComponentsNames
in interface StatisticsProviderMBean
List<String>
public Map<String,String> getComponentStats(String compName, int level)
StatisticsProviderMBean
getComponentStats
in interface StatisticsProviderMBean
compName
- 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()
StatisticsProviderMBean
getConnectionsNumber
in interface StatisticsProviderMBean
int
public int[] getConnectionsNumberHistory()
StatisticsProviderMBean
getConnectionsNumberHistory
in interface StatisticsProviderMBean
int[]
public int getCPUsNumber()
StatisticsProviderMBean
getCPUsNumber
in interface StatisticsProviderMBean
int
public float getCPUUsage()
StatisticsProviderMBean
getCPUUsage
in interface StatisticsProviderMBean
float
public float[] getCPUUsageHistory()
StatisticsProviderMBean
getCPUUsageHistory
in interface StatisticsProviderMBean
float[]
public Map<String,Object> getCurStats(String[] statsKeys)
StatisticsProviderMBean
getCurStats
in interface StatisticsProviderMBean
statsKeys
- is a String[]
Map<String,Object>
public long getDirectMemUsed()
StatisticsProviderMBean
getDirectMemUsed
in interface StatisticsProviderMBean
long
public long[] getDirectMemUsedHistory()
StatisticsProviderMBean
getDirectMemUsedHistory
in interface StatisticsProviderMBean
long[]
public float getHeapMemUsage()
StatisticsProviderMBean
getHeapMemUsage
in interface StatisticsProviderMBean
float
public float[] getHeapUsageHistory()
StatisticsProviderMBean
getHeapUsageHistory
in interface StatisticsProviderMBean
float[]
public long getIQAuthNumber()
StatisticsProviderMBean
getIQAuthNumber
in interface StatisticsProviderMBean
long
public long getIQOtherNumber()
StatisticsProviderMBean
getIQOtherNumber
in interface StatisticsProviderMBean
long
public float getIQOtherNumberPerSec()
StatisticsProviderMBean
getIQOtherNumberPerSec
in interface StatisticsProviderMBean
float
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
getMBeanInfo
in class StandardMBean
public long getMessagesNumber()
StatisticsProviderMBean
getMessagesNumber
in interface StatisticsProviderMBean
long
public float getMessagesNumberPerSec()
StatisticsProviderMBean
getMessagesNumberPerSec
in interface StatisticsProviderMBean
float
public String getName()
StatisticsProviderMBean
getName
in interface StatisticsProviderMBean
String
public float getNonHeapMemUsage()
StatisticsProviderMBean
getNonHeapMemUsage
in interface StatisticsProviderMBean
float
public MBeanNotificationInfo[] getNotificationInfo()
public long getPresencesNumber()
StatisticsProviderMBean
getPresencesNumber
in interface StatisticsProviderMBean
long
public float getPresencesNumberPerSec()
StatisticsProviderMBean
getPresencesNumberPerSec
in interface StatisticsProviderMBean
float
public long getProcesCPUTime()
StatisticsProviderMBean
getProcesCPUTime
in interface StatisticsProviderMBean
long
public long getQueueOverflow()
StatisticsProviderMBean
getQueueOverflow
in interface StatisticsProviderMBean
long
public int getQueueSize()
StatisticsProviderMBean
getQueueSize
in interface StatisticsProviderMBean
int
public long getRegistered()
public int getServerConnections()
StatisticsProviderMBean
getServerConnections
in interface StatisticsProviderMBean
int
public int[] getServerConnectionsHistory()
StatisticsProviderMBean
getServerConnectionsHistory
in interface StatisticsProviderMBean
int[]
public long getSMPacketsNumber()
StatisticsProviderMBean
getSMPacketsNumber
in interface StatisticsProviderMBean
long
public float getSMPacketsNumberPerSec()
StatisticsProviderMBean
getSMPacketsNumberPerSec
in interface StatisticsProviderMBean
float
public float[] getSMPacketsPerSecHistory()
StatisticsProviderMBean
getSMPacketsPerSecHistory
in interface StatisticsProviderMBean
float[]
public int getSMQueueSize()
StatisticsProviderMBean
getSMQueueSize
in interface StatisticsProviderMBean
int
public Map<String,LinkedList<Object>> getStatsHistory(String[] statsKeys)
StatisticsProviderMBean
getStatsHistory
in interface StatisticsProviderMBean
statsKeys
- is a String[]
Map<String,LinkedList<Object>>
public String getSystemDetails()
StatisticsProviderMBean
getSystemDetails
in interface StatisticsProviderMBean
String
public long getUptime()
StatisticsProviderMBean
getUptime
in interface StatisticsProviderMBean
long
protected String getDescription(MBeanInfo info)
getDescription
in class StandardMBean
protected String getDescription(MBeanAttributeInfo info)
getDescription
in class StandardMBean
protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription
in class StandardMBean
protected String getDescription(MBeanOperationInfo info)
getDescription
in class StandardMBean
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName
in class StandardMBean
Copyright © 2016 "Tigase, Inc.". All rights reserved.