public class JmxDataFetcher
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.Collection<java.lang.Object>> |
fetch(java.lang.String objectName,
java.util.Collection<JmxAttributeData> attributes)
Gets an object name and its attributes to fetch and will return the data.
|
public static java.util.Map<java.lang.String,java.util.Collection<java.lang.Object>> fetch(java.lang.String objectName, java.util.Collection<JmxAttributeData> attributes) throws java.lang.Exception
objectName
- The object name to search.attributes
- The attributes that 'belong' to the object name.java.lang.Exception
- In case the object name is not found.