tigase.stats
public class JavaJMXProxy extends Object implements StatisticsProviderMBean, NotificationListener
| Constructor and Description |
|---|
JavaJMXProxy(String id,
String hostname,
int port,
String userName,
String password,
long delay,
long interval,
boolean loadHistory)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJMXProxyListener(JMXProxyListener listener)
Method description
|
void |
connect()
Method description
|
Map<String,String> |
getAllStats(int level)
Method description
|
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
|
List<String> |
getComponentsNames()
Method description
|
Map<String,String> |
getComponentStats(String compName,
int level)
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) |
float |
getHeapMemUsage()
Method description
|
float[] |
getHeapUsageHistory()
Method description
|
String |
getId()
Method description
|
long |
getIQAuthNumber()
Method description
|
long |
getIQOtherNumber()
Method description
|
float |
getIQOtherNumberPerSec()
Method description
|
long |
getLastCacheUpdate()
Method description
|
long |
getMessagesNumber()
Method description
|
float |
getMessagesNumberPerSec()
Method description
|
String |
getName()
Method description
|
float |
getNonHeapMemUsage()
Method description
|
long |
getPresencesNumber()
Method description
|
float |
getPresencesNumberPerSec()
Method description
|
long |
getProcesCPUTime()
Method description
|
long |
getQueueOverflow()
Method description
|
int |
getQueueSize()
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
|
Map<String,LinkedList<Object>> |
getStatsHistory(String[] statsKeys) |
String |
getSystemDetails()
Method description
|
long |
getUptime()
Method description
|
void |
handleNotification(Notification notification,
Object handback)
Method description
|
boolean |
isConnected()
Method description
|
boolean |
isInitialized()
Method description
|
void |
start()
Method description
|
void |
update()
Method description
|
public void addJMXProxyListener(JMXProxyListener listener)
listener - public Map<String,String> getAllStats(int level)
getAllStats in interface StatisticsProviderMBeanlevel - public int getCLIOQueueSize()
getCLIOQueueSize in interface StatisticsProviderMBeanpublic float[] getCLPacketsPerSecHistory()
getCLPacketsPerSecHistory in interface StatisticsProviderMBeanpublic int getCLQueueSize()
getCLQueueSize in interface StatisticsProviderMBeanpublic float getCPUUsage()
getCPUUsage in interface StatisticsProviderMBeanpublic float[] getCPUUsageHistory()
getCPUUsageHistory in interface StatisticsProviderMBeanpublic int getCPUsNumber()
getCPUsNumber in interface StatisticsProviderMBeanpublic int getClusterCacheSize()
getClusterCacheSize in interface StatisticsProviderMBeanpublic float getClusterCompressionRatio()
getClusterCompressionRatio in interface StatisticsProviderMBeanpublic long getClusterNetworkBytes()
getClusterNetworkBytes in interface StatisticsProviderMBeanpublic float getClusterNetworkBytesPerSecond()
getClusterNetworkBytesPerSecond in interface StatisticsProviderMBeanpublic long getClusterPackets()
getClusterPackets in interface StatisticsProviderMBeanpublic float getClusterPacketsPerSec()
getClusterPacketsPerSec in interface StatisticsProviderMBeanpublic Map<String,String> getComponentStats(String compName, int level)
getComponentStats in interface StatisticsProviderMBeancompName - level - public List<String> getComponentsNames()
getComponentsNames in interface StatisticsProviderMBeanpublic int getConnectionsNumber()
getConnectionsNumber in interface StatisticsProviderMBeanpublic int[] getConnectionsNumberHistory()
getConnectionsNumberHistory in interface StatisticsProviderMBeanpublic float getHeapMemUsage()
getHeapMemUsage in interface StatisticsProviderMBeanpublic float[] getHeapUsageHistory()
getHeapUsageHistory in interface StatisticsProviderMBeanpublic long getIQAuthNumber()
getIQAuthNumber in interface StatisticsProviderMBeanpublic long getIQOtherNumber()
getIQOtherNumber in interface StatisticsProviderMBeanpublic float getIQOtherNumberPerSec()
getIQOtherNumberPerSec in interface StatisticsProviderMBeanpublic String getId()
public long getLastCacheUpdate()
public long getMessagesNumber()
getMessagesNumber in interface StatisticsProviderMBeanpublic float getMessagesNumberPerSec()
getMessagesNumberPerSec in interface StatisticsProviderMBeanpublic String getName()
getName in interface StatisticsProviderMBeanpublic float getNonHeapMemUsage()
getNonHeapMemUsage in interface StatisticsProviderMBeanpublic long getPresencesNumber()
getPresencesNumber in interface StatisticsProviderMBeanpublic float getPresencesNumberPerSec()
getPresencesNumberPerSec in interface StatisticsProviderMBeanpublic long getProcesCPUTime()
getProcesCPUTime in interface StatisticsProviderMBeanpublic long getQueueOverflow()
getQueueOverflow in interface StatisticsProviderMBeanpublic int getQueueSize()
getQueueSize in interface StatisticsProviderMBeanpublic long getSMPacketsNumber()
getSMPacketsNumber in interface StatisticsProviderMBeanpublic float getSMPacketsNumberPerSec()
getSMPacketsNumberPerSec in interface StatisticsProviderMBeanpublic float[] getSMPacketsPerSecHistory()
getSMPacketsPerSecHistory in interface StatisticsProviderMBeanpublic int getSMQueueSize()
getSMQueueSize in interface StatisticsProviderMBeanpublic int getServerConnections()
getServerConnections in interface StatisticsProviderMBeanpublic int[] getServerConnectionsHistory()
getServerConnectionsHistory in interface StatisticsProviderMBeanpublic String getSystemDetails()
getSystemDetails in interface StatisticsProviderMBeanpublic long getUptime()
getUptime in interface StatisticsProviderMBeanpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenernotification - handback - public boolean isConnected()
public boolean isInitialized()
public void start()
public void update()
public Map<String,LinkedList<Object>> getStatsHistory(String[] statsKeys)
getStatsHistory in interface StatisticsProviderMBeanpublic Map<String,Object> getCurStats(String[] statsKeys)
getCurStats in interface StatisticsProviderMBeanCopyright © 2013 Tigase. All rights reserved.