tigase.stats
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 String getId()
public void start()
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
public boolean isConnected()
public boolean isInitialized()
public void update()
public String getHostname()
public String getSystemDetails()
Copyright © 2013 Tigase. All rights reserved.