public class MonitoringHelper extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static org.objectweb.util.monolog.api.Logger |
logger |
Constructor and Description |
---|
MonitoringHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addMonitoredAttributes(Vector elements,
String MBeanName,
String attributes)
Add the specified attributes to the list of monitored attributes.
|
static void |
delMonitoredAttributes(Vector elements,
String mbean)
Removes all the attributes of the specified MBean in the list of
monitored attributes.
|
static void |
getJMXValues(Message message,
Vector elements) |
static String[] |
getMonitoredAttributes(Vector elements)
Returns the comma separated list of all monitored attributes.
|
private static void |
setMessageProperty(Message message,
String mbeanName,
String attrName) |
private static void setMessageProperty(Message message, String mbeanName, String attrName) throws Exception
Exception
public static String[] getMonitoredAttributes(Vector elements)
elements
- the various elements to monitor.public static void addMonitoredAttributes(Vector elements, String MBeanName, String attributes)
elements
- the various elements to monitor.MBeanName
- the name of the MBean.attributes
- the comma separated list of attributes to monitor.Copyright © 2020 ScalAgent D.T.. All rights reserved.