org.rhq.core.pc.content
Class ContentDiscoveryRunner
java.lang.Object
org.rhq.core.pc.content.ContentDiscoveryRunner
- All Implemented Interfaces:
- Runnable, Callable<ContentDiscoveryReport>
public class ContentDiscoveryRunner
- extends Object
- implements Runnable, Callable<ContentDiscoveryReport>
Thread run by the ContentManager to perform content discoveries. Much of the logic in these discoveries takes
place in that manager; this is largely just a Runnable implementation in order to thread the
discoveries.
- Author:
- Jason Dobies
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentDiscoveryRunner
public ContentDiscoveryRunner(ContentManager contentManager)
- Creates a new runner that will contact the manager to determine the next piece of scheduled content work that
needs to take place.
- Parameters:
contentManager - hook to the manager
ContentDiscoveryRunner
public ContentDiscoveryRunner(ContentManager contentManager,
ScheduledContentDiscoveryInfo discoveryInfo)
- Creates a new runner that will be scoped to performing the specified discovery.
- Parameters:
contentManager - hook to the managerdiscoveryInfo - specific discovery to perform
run
public void run()
- Specified by:
run in interface Runnable
call
public ContentDiscoveryReport call()
throws Exception
- Specified by:
call in interface Callable<ContentDiscoveryReport>
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.