org.apache.manifoldcf.crawler.connectors.webcrawler
Class DNSManager.DNSCacheClass

java.lang.Object
  extended by org.apache.manifoldcf.crawler.connectors.webcrawler.DNSManager.DNSCacheClass
All Implemented Interfaces:
org.apache.manifoldcf.core.interfaces.ICacheClass
Enclosing class:
DNSManager

protected static class DNSManager.DNSCacheClass
extends java.lang.Object
implements org.apache.manifoldcf.core.interfaces.ICacheClass

Cache class for robots. An instance of this class describes the cache class for robots data caching. There's only ever a need for one, so that will be created statically.


Field Summary
 
Fields inherited from interface org.apache.manifoldcf.core.interfaces.ICacheClass
_rcsid
 
Constructor Summary
protected DNSManager.DNSCacheClass()
           
 
Method Summary
 java.lang.String getClassName()
          Get the name of the object class.
 int getMaxLRUCount()
          Get the maximum LRU count of the object class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DNSManager.DNSCacheClass

protected DNSManager.DNSCacheClass()
Method Detail

getClassName

public java.lang.String getClassName()
Get the name of the object class. This determines the set of objects that are treated in the same LRU pool.

Specified by:
getClassName in interface org.apache.manifoldcf.core.interfaces.ICacheClass
Returns:
the class name.

getMaxLRUCount

public int getMaxLRUCount()
Get the maximum LRU count of the object class.

Specified by:
getMaxLRUCount in interface org.apache.manifoldcf.core.interfaces.ICacheClass
Returns:
the maximum number of the objects of the particular class allowed.