org.opennms.netmgt.capsd
Class RescanProcessor

java.lang.Object
  extended by org.opennms.netmgt.capsd.RescanProcessor
All Implemented Interfaces:
Runnable

public final class RescanProcessor
extends Object
implements Runnable

This class is designed to rescan all the managed interfaces for a specified node, update the database based on the information collected, and generate events necessary to notify the other OpenNMS services. The constructor takes an integer which is the node identifier of the node to be rescanned. .

Author:
James Zuo , Mike Davidson , Brian Weaver , OpenNMS

Constructor Summary
RescanProcessor(int nodeId, boolean forceRescan, CapsdDbSyncer capsdDbSyncer, PluginManager pluginManager)
           
 
Method Summary
 void run()
          This is where all the work of the class is done.
protected static boolean scannableInterface(DbIpInterfaceEntry[] dbInterfaces, InetAddress ifaddr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RescanProcessor

public RescanProcessor(int nodeId,
                       boolean forceRescan,
                       CapsdDbSyncer capsdDbSyncer,
                       PluginManager pluginManager)
Method Detail

run

public void run()
This is where all the work of the class is done.

Specified by:
run in interface Runnable

scannableInterface

protected static boolean scannableInterface(DbIpInterfaceEntry[] dbInterfaces,
                                            InetAddress ifaddr)


Copyright © 2009. All Rights Reserved.