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

ResetSystemSoftTask

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.

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

    super(runData);
  
Methods Summary
public intdoLogic()

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

    return true;