Class CookieManager.CookiesCacheClass
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CookiesCacheClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName()
Get the name of the object class.int
getMaxLRUCount()
Get the maximum LRU count of the object class.
-
-
-
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 interfaceorg.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 interfaceorg.apache.manifoldcf.core.interfaces.ICacheClass
- Returns:
- the maximum number of the objects of the particular class allowed.
-
-