protected static class DNSManager.HostExecutor
extends org.apache.manifoldcf.core.cachemanager.ExecutorBase
| Modifier and Type | Field and Description |
|---|---|
protected DNSManager.DNSInfo |
returnValue |
protected DNSManager.HostDescription |
thisHost |
protected DNSManager |
thisManager |
| Constructor and Description |
|---|
HostExecutor(DNSManager manager,
DNSManager.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.
|
DNSManager.DNSInfo |
getResults()
Get the result.
|
protected DNSManager thisManager
protected DNSManager.DNSInfo returnValue
protected DNSManager.HostDescription thisHost
public HostExecutor(DNSManager manager, DNSManager.HostDescription objectDescription)
manager - is the RobotsManager class instance.objectDescription - is the desired object description.public DNSManager.DNSInfo 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