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)
Method description
|
long |
getDirectMemUsed()
Method description
|
long[] |
getDirectMemUsedHistory()
Method description
|
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)
Method description
|
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 void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenernotification - handback - public void start()
public void update()
public Map<String,String> getAllStats(int level)
getAllStats in interface StatisticsProviderMBeanlevel - Mappublic 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 List<String> getComponentsNames()
getComponentsNames in interface StatisticsProviderMBeanListpublic Map<String,String> getComponentStats(String compName, int level)
getComponentStats in interface StatisticsProviderMBeancompName - level - Mappublic 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 String getId()
Stringpublic long getIQAuthNumber()
getIQAuthNumber in interface StatisticsProviderMBeanlongpublic long getIQOtherNumber()
getIQOtherNumber in interface StatisticsProviderMBeanlongpublic float getIQOtherNumberPerSec()
getIQOtherNumberPerSec in interface StatisticsProviderMBeanfloatpublic long getLastCacheUpdate()
longpublic long getMessagesNumber()
getMessagesNumber in interface StatisticsProviderMBeanlongpublic float getMessagesNumberPerSec()
getMessagesNumberPerSec in interface StatisticsProviderMBeanfloatpublic String getName()
getName in interface StatisticsProviderMBeanStringpublic float getNonHeapMemUsage()
getNonHeapMemUsage in interface StatisticsProviderMBeanfloatpublic 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 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 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 StatisticsProviderMBeanlongpublic boolean isConnected()
booleanpublic boolean isInitialized()
booleanCopyright © 2014 "Tigase, Inc.". All rights reserved.