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) |
Modifier and Type | Method and Description |
---|---|
void |
addJMXProxyListener(JMXProxyListenerOpt listener) |
void |
connect() |
Map<String,String> |
getAllStats(int level) |
List<String> |
getComponentsNames() |
Map<String,String> |
getComponentStats(String compName,
int level) |
String |
getHostname() |
String |
getId() |
Object |
getMetricData(String key) |
Object[] |
getMetricHistory(String key) |
String |
getSystemDetails() |
void |
handleNotification(Notification notification,
Object handback) |
boolean |
isConnected() |
boolean |
isInitialized() |
void |
start() |
void |
update() |
public void addJMXProxyListener(JMXProxyListenerOpt listener)
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
public void start()
public void update()
public String getHostname()
public String getId()
public String getSystemDetails()
public boolean isConnected()
public boolean isInitialized()
Copyright © 2018 "Tigase, Inc.". All rights reserved.