org.apache.lucene.benchmark.byTask.tasks

Class ResetInputsTask

Implemented Interfaces:
Cloneable

public class ResetInputsTask
extends PerfTask

Reset inputs so that the test run would behave, input wise, as if it just started. This affects e.g. the generation of docs and queries.

Field Summary

Fields inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask

NEW_LINE, params

Constructor Summary

ResetInputsTask(PerfRunData runData)

Method Summary

int
doLogic()
protected boolean
shouldNotRecordStats()

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

ResetInputsTask

public ResetInputsTask(PerfRunData runData)

Method Details

doLogic

public int doLogic()
            throws Exception
Overrides:
doLogic in interface PerfTask

shouldNotRecordStats

protected boolean shouldNotRecordStats()
Overrides:
shouldNotRecordStats in interface PerfTask

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