FileDocCategorySizeDatePackage
WarmTask.javaAPI DocApache Lucene 2.2.01701Sat Jun 16 22:20:58 BST 2007org.apache.lucene.benchmark.byTask.tasks

WarmTask

public class WarmTask extends ReadTask
Warm reader task: retrieve all reader documents.

Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.

Other side effects: counts additional 1 (record) for each retrieved (non null) document.

Fields Summary
Constructors Summary
public WarmTask(org.apache.lucene.benchmark.byTask.PerfRunData runData)

    super(runData);
  
Methods Summary
public org.apache.lucene.benchmark.byTask.feeds.QueryMakergetQueryMaker()

    return null; // not required for this task.
  
public booleanwithRetrieve()

    return false;
  
public booleanwithSearch()

    return false;
  
public booleanwithTraverse()

    return false;
  
public booleanwithWarm()

    return true;