public class JavaJMXProxyOpt extends Object implements NotificationListener
| Constructor and Description |
|---|
JavaJMXProxyOpt(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(JMXProxyListenerOpt listener)
Method description
|
void |
connect()
Method description
|
Map<String,String> |
getAllStats(int level)
Method description
|
List<String> |
getComponentsNames()
Method description
|
Map<String,String> |
getComponentStats(String compName,
int level)
Method description
|
String |
getHostname()
Method description
|
String |
getId()
Method description
|
Object |
getMetricData(String key)
Method description
|
Object[] |
getMetricHistory(String key)
Method description
|
String |
getSystemDetails()
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(JMXProxyListenerOpt listener)
listener - is a JMXProxyListenerOptpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenernotification - is a Notificationhandback - is a Objectpublic void start()
public void update()
public Map<String,String> getAllStats(int level)
level - is a intMappublic List<String> getComponentsNames()
Listpublic Map<String,String> getComponentStats(String compName, int level)
compName - is a Stringlevel - is a intMappublic String getHostname()
Stringpublic String getId()
Stringpublic Object getMetricData(String key)
key - is a StringObjectpublic Object[] getMetricHistory(String key)
key - is a StringObject[]public String getSystemDetails()
Stringpublic boolean isConnected()
booleanpublic boolean isInitialized()
booleanCopyright © 2013 Tigase. All rights reserved.