public class FullFrontierReport extends Object
Modifier and Type | Class and Description |
---|---|
class |
FullFrontierReport.ReportIterator |
Modifier and Type | Method and Description |
---|---|
void |
addLine(FrontierReportLine line)
Add a line to the report.
|
void |
dispose()
Releases all resources once this report is to be discarded.
|
String |
getJobName() |
FrontierReportLine |
getLineForDomain(String domainName)
Returns the line of the frontier report corresponding to the queue for the given domain name.
|
long |
getTimestamp() |
FullFrontierReport.ReportIterator |
iterateOnCurrentSize()
Returns an iterator where lines are ordered by increasing currentSize.
|
FullFrontierReport.ReportIterator |
iterateOnDomainName()
Returns an iterator where lines are ordered by domain name natural order.
|
FullFrontierReport.ReportIterator |
iterateOnDuplicateCurrentSize(long dupValue)
Returns an iterator on lines having a given currentSize.
|
FullFrontierReport.ReportIterator |
iterateOnDuplicateSpentBudget(long dupValue)
Returns an iterator on lines having a given totalSpend.
|
FullFrontierReport.ReportIterator |
iterateOnSpentBudget()
Returns an iterator where lines are ordered by increasing totalSpend.
|
FullFrontierReport.ReportIterator |
iterateOnTotalEnqueues()
Returns an iterator where lines are ordered by primary key order: first by decreasing totalEnqueues, then by
domain name natural order.
|
static FullFrontierReport |
parseContentsAsString(String jobName,
String contentsAsString)
Generates an Heritrix frontier report wrapper object by parsing the frontier report returned by the JMX
controller as a string.
|
protected void |
setJobName(String jobName) |
void |
setTimestamp(long timestamp) |
public void dispose()
public void addLine(FrontierReportLine line)
FrontierReport
addLine
in interface FrontierReport
line
- line to add.public FrontierReportLine getLineForDomain(String domainName)
FrontierReport
getLineForDomain
in interface FrontierReport
domainName
- the domain name.public FullFrontierReport.ReportIterator iterateOnTotalEnqueues()
public FullFrontierReport.ReportIterator iterateOnDomainName()
public FullFrontierReport.ReportIterator iterateOnCurrentSize()
public FullFrontierReport.ReportIterator iterateOnDuplicateCurrentSize(long dupValue)
dupValue
- public FullFrontierReport.ReportIterator iterateOnSpentBudget()
public FullFrontierReport.ReportIterator iterateOnDuplicateSpentBudget(long dupValue)
dupValue
- public static FullFrontierReport parseContentsAsString(String jobName, String contentsAsString)
jobName
- the Heritrix job namecontentsAsString
- the text returned by the JMX callpublic String getJobName()
getJobName
in interface FrontierReport
public long getTimestamp()
getTimestamp
in interface FrontierReport
protected void setJobName(String jobName)
jobName
- the jobName to setpublic void setTimestamp(long timestamp)
timestamp
- the timestamp to setCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.