org.apache.lucene.benchmark.byTask.tasks
Class ReportTask
java.lang.Object
org.apache.lucene.benchmark.byTask.tasks.PerfTask
org.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.
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 |
ReportTask
public ReportTask(PerfRunData runData)
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.