org.apache.manifoldcf.crawler.connectors.webcrawler
Class CookieManager.CookiesCacheClass

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

protected static class CookieManager.CookiesCacheClass
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 cookie 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 CookieManager.CookiesCacheClass()
           
 
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

CookieManager.CookiesCacheClass

protected CookieManager.CookiesCacheClass()
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.