org.apache.lucene.benchmark.byTask.tasks

Class ReportTask

Implemented Interfaces:
Cloneable
Known Direct 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, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toString

Constructor Details

ReportTask

public ReportTask(PerfRunData runData)

Method Details

shouldNeverLogAtStart

protected boolean shouldNeverLogAtStart()
Tasks that should never log at start can overide this.
Overrides:
shouldNeverLogAtStart in interface PerfTask
Returns:
true if this task should never log when it start.

shouldNotRecordStats

protected boolean shouldNotRecordStats()
Tasks that should not record statistics can overide this.
Overrides:
shouldNotRecordStats in interface PerfTask
Returns:
true if this task should never record its statistics.

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