|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.harvesting.distribute.DomainHarvestReport
public abstract class DomainHarvestReport
Interface to define what kind of statistics, all crawlers are supposed to deliver to this system.
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,DomainStats> |
domainstats
Datastructure holding the domain-information contained in one harvest. |
Constructor Summary | |
---|---|
DomainHarvestReport()
Default constructor that does nothing. |
Method Summary | |
---|---|
java.lang.Long |
getByteCount(java.lang.String domainName)
Get the number of bytes downloaded for the given domain. |
java.util.Set<java.lang.String> |
getDomainNames()
Returns the set of domain names that are contained in hosts-report.txt (i.e. |
java.lang.Long |
getObjectCount(java.lang.String domainName)
Get the number of objects found for the given domain. |
StopReason |
getStopReason(java.lang.String domainName)
Get the StopReason for the given domain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.Map<java.lang.String,DomainStats> domainstats
Constructor Detail |
---|
public DomainHarvestReport()
Method Detail |
---|
public final java.util.Set<java.lang.String> getDomainNames()
public final java.lang.Long getObjectCount(java.lang.String domainName)
domainName
- A domain name (as given by getDomainNames())
ArgumentNotValid
- if null or empty domainNamepublic final java.lang.Long getByteCount(java.lang.String domainName)
domainName
- A domain name (as given by getDomainNames())
ArgumentNotValid
- if null or empty domainNamepublic final StopReason getStopReason(java.lang.String domainName)
domainName
- A domain name (as given by getDomainNames())
ArgumentNotValid
- if null or empty domainName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |