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) |
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 NotificationListenerpublic void start()
public void update()
public Map<String,String> getAllStats(int level)
level - is a intMap<String,String>public List<String> getComponentsNames()
List<String>public Map<String,String> getComponentStats(String compName, int level)
compName - is a Stringlevel - is a intMap<String,String>public 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 © 2016 "Tigase, Inc.". All rights reserved.