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