File
Doc
Category
Size
Date
Package
ResetSystemSoftTask.java
API Doc
Apache Lucene 2.2.0
1569
Sat Jun 16 22:20:58 BST 2007
org.apache.lucene.benchmark.byTask.tasks
ResetSystemSoftTask
java.lang.Object
PerfTask
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
int
doLogic
()
getRunData().reinit(false); return 0;
protected
boolean
shouldNotRecordStats
()
return true;
Java Code Source