FileDocCategorySizeDatePackage
ResetSystemEraseTask.javaAPI DocApache Lucene 2.2.01572Sat Jun 16 22:20:58 BST 2007org.apache.lucene.benchmark.byTask.tasks

ResetSystemEraseTask

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

Fields Summary
Constructors Summary
public ResetSystemEraseTask(org.apache.lucene.benchmark.byTask.PerfRunData runData)

    super(runData);
  
Methods Summary
public intdoLogic()

    getRunData().reinit(true);
    return 0;
  
protected booleanshouldNotRecordStats()

    return true;