dk.netarkivet.harvester.harvesting.frontier
Class FullFrontierReport.PersistentLineKey
java.lang.Object
dk.netarkivet.harvester.harvesting.frontier.FullFrontierReport.PersistentLineKey
- All Implemented Interfaces:
- FrontierReportLineOrderKey, java.lang.Comparable<FullFrontierReport.PersistentLineKey>
- Enclosing class:
- FullFrontierReport
@Persistent
static class FullFrontierReport.PersistentLineKey
- extends java.lang.Object
- implements java.lang.Comparable<FullFrontierReport.PersistentLineKey>, FrontierReportLineOrderKey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
totalEnqueues
@KeyField(value=1)
long totalEnqueues
domainName
@KeyField(value=2)
java.lang.String domainName
FullFrontierReport.PersistentLineKey
FullFrontierReport.PersistentLineKey()
FullFrontierReport.PersistentLineKey
public FullFrontierReport.PersistentLineKey(FrontierReportLine l)
getQueueId
public java.lang.String getQueueId()
- Description copied from interface:
FrontierReportLineOrderKey
- Returns the queue's unique identifier.
- Specified by:
getQueueId
in interface FrontierReportLineOrderKey
- Returns:
- the queue's unique identifier.
getQueueSize
public long getQueueSize()
- Description copied from interface:
FrontierReportLineOrderKey
- Returns the queue size.
- Specified by:
getQueueSize
in interface FrontierReportLineOrderKey
- Returns:
- the queue size.
compareTo
public int compareTo(FullFrontierReport.PersistentLineKey k)
- Compares first by decreasing queue size, then by domain name.
- Specified by:
compareTo
in interface java.lang.Comparable<FullFrontierReport.PersistentLineKey>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object