org.archive.hcc.client
Class CompletedCrawlJobImpl

java.lang.Object
  extended by org.archive.hcc.client.CrawlJobBase
      extended by org.archive.hcc.client.CompletedCrawlJobImpl
All Implemented Interfaces:
CompletedCrawlJob, CrawlJob

public class CompletedCrawlJobImpl
extends CrawlJobBase
implements CompletedCrawlJob


Field Summary
 
Fields inherited from class org.archive.hcc.client.CrawlJobBase
connection, jobName, mother, uid
 
Constructor Summary
CompletedCrawlJobImpl(java.lang.Long uid, java.lang.String jobName, CrawlerImpl mother, javax.management.MBeanServerConnection connection)
           
 
Method Summary
 java.lang.String getCrawlReport()
          Returns a crawl report which is some statistics summarizing the end state of the crawl.
 java.lang.String getHostReport()
          A count of bytes and docs collected by host.
 java.lang.String getMimeTypeReport()
          A count of bytes and docs collected by mime type.
 java.lang.String getSeedReport()
          Returns a seed report which details final crawl status of all the seeds.
 java.lang.String getSourceReport()
          A count of docs per host per source seed.
 
Methods inherited from class org.archive.hcc.client.CrawlJobBase
getJobName, getMother, getUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.archive.hcc.client.CrawlJob
getJobName, getMother, getUid
 

Constructor Detail

CompletedCrawlJobImpl

public CompletedCrawlJobImpl(java.lang.Long uid,
                             java.lang.String jobName,
                             CrawlerImpl mother,
                             javax.management.MBeanServerConnection connection)
Method Detail

getCrawlReport

public java.lang.String getCrawlReport()
                                throws ClusterException
Description copied from interface: CompletedCrawlJob
Returns a crawl report which is some statistics summarizing the end state of the crawl.

Specified by:
getCrawlReport in interface CompletedCrawlJob
Returns:
Throws:
ClusterException

getHostReport

public java.lang.String getHostReport()
                               throws ClusterException
Description copied from interface: CompletedCrawlJob
A count of bytes and docs collected by host.

Specified by:
getHostReport in interface CompletedCrawlJob
Returns:
Throws:
ClusterException

getSourceReport

public java.lang.String getSourceReport()
                                 throws ClusterException
Description copied from interface: CompletedCrawlJob
A count of docs per host per source seed.

Specified by:
getSourceReport in interface CompletedCrawlJob
Returns:
Throws:
ClusterException

getMimeTypeReport

public java.lang.String getMimeTypeReport()
                                   throws ClusterException
Description copied from interface: CompletedCrawlJob
A count of bytes and docs collected by mime type.

Specified by:
getMimeTypeReport in interface CompletedCrawlJob
Returns:
Throws:
ClusterException

getSeedReport

public java.lang.String getSeedReport()
                               throws ClusterException
Description copied from interface: CompletedCrawlJob
Returns a seed report which details final crawl status of all the seeds.

Specified by:
getSeedReport in interface CompletedCrawlJob
Returns:
Throws:
ClusterException


Copyright © 2005-2008 The Internet Archive. All Rights Reserved.