|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.collectd.JMXNodeCollector
public class JMXNodeCollector
The JMXNodeCollector class is responsible for performing the actual JMX data collection for a node over a specified network interface. The JMXNodeCollector implements the SnmpHandler class in order to receive notifications when an JMX reply is received or error occurs. The JMXNodeCollector is provided a list of MIB objects to collect and an interface over which to collect the data. Data collection can be via JMXv1 GetNext requests or JMXv2 GetBulk requests depending upon the parms used to construct the collector.
| Constructor Summary | |
|---|---|
JMXNodeCollector(List objList)
The class constructor is used to initialize the collector and send out the initial JMX packet requesting data. |
|
| Method Summary | |
|---|---|
boolean |
failed()
Returns the success or failure code for collection of the data. |
JMXCollectorEntry |
getEntry()
Returns the list of all entry maps that can be used to access all the information from the service polling. |
boolean |
timedout()
Returns true if JMX collection failed due to timeout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXNodeCollector(List objList)
session - The JMX session with the remote agent.signaler - The object signaled when data collection is done.objList - The list of object id's to be collected.| Method Detail |
|---|
public boolean failed()
public boolean timedout()
public JMXCollectorEntry getEntry()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||