dk.netarkivet.archive.indexserver
Class CrawlLogDataCache

java.lang.Object
  extended by dk.netarkivet.archive.indexserver.FileBasedCache<java.lang.Long>
      extended by dk.netarkivet.archive.indexserver.RawMetadataCache
          extended by dk.netarkivet.archive.indexserver.CrawlLogDataCache
All Implemented Interfaces:
RawDataCache

public class CrawlLogDataCache
extends RawMetadataCache

This class implements the low-level cache for crawl log Lucene indexing. It will get the crawl logs for individual jobs as files.


Field Summary
 
Fields inherited from class dk.netarkivet.archive.indexserver.FileBasedCache
cacheDir
 
Constructor Summary
CrawlLogDataCache()
          Create a new CrawlLogDataCache.
 
Method Summary
 
Methods inherited from class dk.netarkivet.archive.indexserver.RawMetadataCache
cacheData, getCacheFile
 
Methods inherited from class dk.netarkivet.archive.indexserver.FileBasedCache
cache, get, getCacheDir, getIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dk.netarkivet.archive.indexserver.RawDataCache
cache, get
 

Constructor Detail

CrawlLogDataCache

public CrawlLogDataCache()
Create a new CrawlLogDataCache. For a given job ID, this will fetch and cache crawl.log files from metadata files (<ID>-metadata-[0-9]+.arc).