Package tigase.stats
Class JavaJMXProxyOpt
java.lang.Object
tigase.stats.JavaJMXProxyOpt
- All Implemented Interfaces:
EventListener
,NotificationListener
- Author:
- Artur Hefczyc Created Jun 3, 2011
-
Constructor Summary
ConstructorDescriptionJavaJMXProxyOpt
(String id, String hostname, int port, String userName, String password, long delay, long interval, boolean loadHistory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJMXProxyListener
(JMXProxyListenerOpt listener) void
connect()
getAllStats
(int level) getComponentStats
(String compName, int level) getId()
getMetricData
(String key) Object[]
getMetricHistory
(String key) void
handleNotification
(Notification notification, Object handback) boolean
boolean
void
start()
void
update()
-
Constructor Details
-
JavaJMXProxyOpt
-
-
Method Details
-
addJMXProxyListener
-
connect
- Throws:
Exception
-
handleNotification
- Specified by:
handleNotification
in interfaceNotificationListener
-
start
public void start() -
update
public void update() -
getAllStats
-
getComponentsNames
-
getComponentStats
-
getHostname
-
getId
-
getMetricData
-
getMetricHistory
-
getSystemDetails
-
isConnected
public boolean isConnected() -
isInitialized
public boolean isInitialized()
-