public class FetchStats extends Object implements Serializable, FetchStatusCodes, org.archive.util.Reporter
Modifier and Type | Class and Description |
---|---|
static interface |
FetchStats.CollectsFetchStats |
static interface |
FetchStats.HasFetchStats |
static class |
FetchStats.Stage |
Modifier and Type | Field and Description |
---|---|
protected long |
dupByHashBytes |
protected long |
dupByHashUrls |
protected long |
fetchDisregards |
protected long |
fetchFailures |
protected long |
fetchNonResponses |
protected long |
fetchResponses |
protected long |
fetchSuccesses |
protected long |
lastSuccessTime |
protected long |
notModifiedBytes |
protected long |
notModifiedUrls |
protected long |
novelBytes |
protected long |
novelUrls |
protected long |
robotsDenials |
protected long |
successBytes |
protected long |
totalBytes |
protected long |
totalScheduled |
S_BLOCKED_BY_CUSTOM_PROCESSOR, S_BLOCKED_BY_QUOTA, S_BLOCKED_BY_RUNTIME_LIMIT, S_BLOCKED_BY_USER, S_CONNECT_FAILED, S_CONNECT_LOST, S_DEEMED_CHAFF, S_DEEMED_NOT_FOUND, S_DEFERRED, S_DELETED_BY_USER, S_DNS_SUCCESS, S_DOMAIN_PREREQUISITE_FAILURE, S_DOMAIN_UNRESOLVABLE, S_GETBYNAME_SUCCESS, S_NOT_FOUND, S_OTHER_PREREQUISITE_FAILURE, S_OUT_OF_SCOPE, S_PREREQUISITE_UNSCHEDULABLE_FAILURE, S_PROCESSING_THREAD_KILLED, S_ROBOTS_PRECLUDED, S_ROBOTS_PREREQUISITE_FAILURE, S_RUNTIME_EXCEPTION, S_SERIOUS_ERROR, S_TIMEOUT, S_TOO_MANY_EMBED_HOPS, S_TOO_MANY_LINK_HOPS, S_TOO_MANY_RETRIES, S_UNATTEMPTED, S_UNFETCHABLE_URI, S_UNQUEUEABLE, S_WHOIS_GENERIC_FINISHED, S_WHOIS_SUCCESS
Constructor and Description |
---|
FetchStats() |
Modifier and Type | Method and Description |
---|---|
long |
getDupByHashBytes() |
long |
getDupByHashUrls() |
long |
getFetchDisregards() |
long |
getFetchNonResponses() |
long |
getFetchResponses() |
long |
getFetchSuccesses() |
long |
getLastSuccessTime() |
long |
getNotModifiedBytes() |
long |
getNotModifiedUrls() |
long |
getNovelBytes() |
long |
getNovelUrls() |
long |
getRecordedFinishes() |
long |
getRemaining() |
long |
getRobotsDenials() |
long |
getSuccessBytes() |
long |
getTotalBytes() |
long |
getTotalScheduled() |
void |
reportTo(PrintWriter writer) |
String |
shortReportLegend() |
String |
shortReportLine() |
void |
shortReportLineTo(PrintWriter writer) |
Map<String,Object> |
shortReportMap() |
void |
tally(CrawlURI curi,
FetchStats.Stage stage) |
protected long totalScheduled
protected long fetchSuccesses
protected long fetchFailures
protected long fetchDisregards
protected long fetchResponses
protected long robotsDenials
protected long successBytes
protected long totalBytes
protected long fetchNonResponses
protected long novelBytes
protected long novelUrls
protected long notModifiedBytes
protected long notModifiedUrls
protected long dupByHashBytes
protected long dupByHashUrls
protected long lastSuccessTime
public void tally(CrawlURI curi, FetchStats.Stage stage)
public long getFetchSuccesses()
public long getFetchResponses()
public long getSuccessBytes()
public long getTotalBytes()
public long getFetchNonResponses()
public long getTotalScheduled()
public long getFetchDisregards()
public long getRobotsDenials()
public long getRemaining()
public long getRecordedFinishes()
public long getNovelBytes()
public long getNovelUrls()
public long getNotModifiedBytes()
public long getNotModifiedUrls()
public long getDupByHashBytes()
public long getDupByHashUrls()
public void reportTo(PrintWriter writer)
reportTo
in interface org.archive.util.Reporter
public String shortReportLegend()
shortReportLegend
in interface org.archive.util.Reporter
public String shortReportLine()
public void shortReportLineTo(PrintWriter writer)
shortReportLineTo
in interface org.archive.util.Reporter
public Map<String,Object> shortReportMap()
shortReportMap
in interface org.archive.util.Reporter
public long getLastSuccessTime()
Copyright © 2003-2014 Internet Archive. All Rights Reserved.