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