FileDocCategorySizeDatePackage
ResetSystemEraseTask.javaAPI DocApache Lucene 2.1.01614Wed Feb 14 10:46:16 GMT 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;