Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 5.8.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 5.8.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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