org.apache.lucene.benchmark.byTask.tasks

Class ResetSystemSoftTask

Implemented Interfaces:
Cloneable

public class ResetSystemSoftTask
extends PerfTask

Reset all index and input data and call gc, does NOT erase index/dir, does NOT clear statistics. This contains ResetInputs. Other side effects: writers/readers nulified, closed. Index is NOT erased. Directory is NOT erased.

Field Summary

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

NEW_LINE, params

Constructor Summary

ResetSystemSoftTask(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

ResetSystemSoftTask

public ResetSystemSoftTask(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.