org.apache.manifoldcf.crawler.connectors.webcrawler
Class RobotsManager.RobotsCacheClass

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

protected static class RobotsManager.RobotsCacheClass
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 RobotsManager.RobotsCacheClass()
           
 
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

RobotsManager.RobotsCacheClass

protected RobotsManager.RobotsCacheClass()
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.