dk.netarkivet.harvester.harvesting.frontier
Class MaxSizeFrontierReportExtract

java.lang.Object
  extended by dk.netarkivet.harvester.harvesting.frontier.AbstractFrontierReportFilter
      extended by dk.netarkivet.harvester.harvesting.frontier.MaxSizeFrontierReportExtract
All Implemented Interfaces:
FrontierReportFilter
Direct Known Subclasses:
ExhaustedQueuesFilter, RetiredQueuesFilter, TopTotalEnqueuesFilter

abstract class MaxSizeFrontierReportExtract
extends AbstractFrontierReportFilter


Field Summary
(package private) static org.apache.commons.logging.Log LOG
          The logger to use.
 
Constructor Summary
MaxSizeFrontierReportExtract()
           
 
Method Summary
(package private)  int getMaxSize()
          Returns the list maximum size.
 void init(java.lang.String[] args)
          Initialize the filter from arguments.
abstract  InMemoryFrontierReport process(FrontierReport initialFrontier)
          Filters the given frontier report.
 
Methods inherited from class dk.netarkivet.harvester.harvesting.frontier.AbstractFrontierReportFilter
getFilterId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

static final org.apache.commons.logging.Log LOG
The logger to use.

Constructor Detail

MaxSizeFrontierReportExtract

MaxSizeFrontierReportExtract()
Method Detail

init

public void init(java.lang.String[] args)
Description copied from class: AbstractFrontierReportFilter
Initialize the filter from arguments.

Specified by:
init in interface FrontierReportFilter
Specified by:
init in class AbstractFrontierReportFilter
Parameters:
args - the arguments as strings.

process

public abstract InMemoryFrontierReport process(FrontierReport initialFrontier)
Description copied from interface: FrontierReportFilter
Filters the given frontier report.

Specified by:
process in interface FrontierReportFilter
Specified by:
process in class AbstractFrontierReportFilter
Parameters:
initialFrontier - the report to filter.
Returns:
a filtered frontier report.

getMaxSize

int getMaxSize()
Returns the list maximum size.

Returns:
the list maximum size.