protected static class RobotsManager.HostExecutor
extends org.apache.manifoldcf.core.cachemanager.ExecutorBase
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.manifoldcf.crawler.interfaces.IProcessActivity |
activities |
protected RobotsManager.RobotsData |
returnValue |
protected RobotsManager.HostDescription |
thisHost |
protected RobotsManager |
thisManager |
| Constructor and Description |
|---|
HostExecutor(RobotsManager manager,
org.apache.manifoldcf.crawler.interfaces.IProcessActivity activities,
RobotsManager.HostDescription objectDescription)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
create(org.apache.manifoldcf.core.interfaces.ICacheDescription[] objectDescriptions)
Create a set of new objects to operate on and cache.
|
void |
execute()
Perform the desired operation.
|
void |
exists(org.apache.manifoldcf.core.interfaces.ICacheDescription objectDescription,
java.lang.Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
RobotsManager.RobotsData |
getResults()
Get the result.
|
protected RobotsManager thisManager
protected RobotsManager.RobotsData returnValue
protected RobotsManager.HostDescription thisHost
protected org.apache.manifoldcf.crawler.interfaces.IProcessActivity activities
public HostExecutor(RobotsManager manager, org.apache.manifoldcf.crawler.interfaces.IProcessActivity activities, RobotsManager.HostDescription objectDescription)
manager - is the RobotsManager class instance.objectDescription - is the desired object description.public RobotsManager.RobotsData getResults()
public java.lang.Object[] create(org.apache.manifoldcf.core.interfaces.ICacheDescription[] objectDescriptions)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
objectDescriptions - is the set of unique identifier of the object.org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void exists(org.apache.manifoldcf.core.interfaces.ICacheDescription objectDescription,
java.lang.Object cachedObject)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
objectDescription - is the unique identifier of the object.cachedObject - is the cached object.org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void execute()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFException