Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.autoinventory
Interface RuntimeScanner


public interface RuntimeScanner


Method Summary
 void doRuntimeScan()
          Perform the actual runtime scan.
 long getDefaultScanInterval()
          This is called to determine how long to wait between DefaultScans.
 long getScanInterval()
          This is called to determine how long to wait between runtime scans.
 void scheduleDefaultScan()
          Schedule a DefaultScan.
 

Method Detail

getDefaultScanInterval

long getDefaultScanInterval()
This is called to determine how long to wait between DefaultScans. If this returns a value less than MIN_DEFAULTSCAN_INTERVAL, the ScanManager will bump the interval up to that minimum value.

Returns:
The number of milliseconds to sleep between DefaultScans.

getScanInterval

long getScanInterval()
This is called to determine how long to wait between runtime scans. If this returns a value less than MIN_RTSCAN_INTERVAL, the ScanManager will bump the interval up to that minimum value.

Returns:
The number of milliseconds to sleep between runtime scans.

scheduleDefaultScan

void scheduleDefaultScan()
Schedule a DefaultScan.


doRuntimeScan

void doRuntimeScan()
                   throws AutoinventoryException
Perform the actual runtime scan.

Throws:
AutoinventoryException

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.