org.apache.lucene.benchmark.byTask.tasks
Class ReportTask

java.lang.Object
  extended byorg.apache.lucene.benchmark.byTask.tasks.PerfTask
      extended byorg.apache.lucene.benchmark.byTask.tasks.ReportTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
RepAllTask, RepSumByNameRoundTask, RepSumByNameTask, RepSumByPrefTask

public abstract class ReportTask
extends PerfTask

Report (abstract) task - all report tasks extend this task.


Field Summary
 
Fields inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask
NEW_LINE, params
 
Constructor Summary
ReportTask(PerfRunData runData)
           
 
Method Summary
protected  boolean shouldNeverLogAtStart()
          Tasks that should never log at start can overide this.
protected  boolean shouldNotRecordStats()
          Tasks that should not record statistics can overide this.
 
Methods inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask
clone, doLogic, getDepth, getName, getParams, getRunData, runAndMaybeStats, setDepth, setName, setParams, setup, tearDown, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportTask

public ReportTask(PerfRunData runData)
Method Detail

shouldNeverLogAtStart

protected boolean shouldNeverLogAtStart()
Description copied from class: PerfTask
Tasks that should never log at start can overide this.

Overrides:
shouldNeverLogAtStart in class PerfTask
Returns:
true if this task should never log when it start.

shouldNotRecordStats

protected boolean shouldNotRecordStats()
Description copied from class: PerfTask
Tasks that should not record statistics can overide this.

Overrides:
shouldNotRecordStats in class PerfTask
Returns:
true if this task should never record its statistics.


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.