org.opennms.netmgt.collectd
Class JMXCollectorEntry
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap
org.opennms.netmgt.collectd.JMXCollectorEntry
- All Implemented Interfaces:
- Serializable, Cloneable, Map, NavigableMap, SortedMap
public class JMXCollectorEntry
- extends TreeMap
- See Also:
- Serialized Form
| Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values |
JMXCollectorEntry
public JMXCollectorEntry()
Creates a default instance of the JMXCollector entry map. The map
represents a singular instance from the MibObject. Each column in the
table for the loaded instance may be retrieved through its OID from the
MIBObject.
The initial table is constructed with zero elements in the map.
JMXCollectorEntry
public JMXCollectorEntry(String objectName,
String[] vars,
String[] types)
The class constructor used to initialize the object to its initial state.
Although the object's member variables can change after an instance is
created, this constructor will initialize all the variables as per their
named variable from the passed array of JMX varbinds.
If the information in the object should not be modified then a final
modifier can be applied to the created object.
- Parameters:
vars - The array of collected JMX variable bindingsobjList - List of MibObject objects representing each of of the oid's
configured for collection.ifIndex - The ifIndex (as a String) of the interface for which the
collected JMX data is relevant. NOTE: NULL if the collected
JMX data is for the node.
attributeNames
public Set attributeNames()
getObjectName
public String getObjectName()
setObjectName
public void setObjectName(String objectName)
Copyright © 2009. All Rights Reserved.