Class ResetSystemEraseTask
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 nullified, deleted, closed. Index is erased. Directory is erased.Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class ResetSystemEraseTask : ResetSystemSoftTask, IDisposable
Constructors
ResetSystemEraseTask(PerfRunData)
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 nullified, deleted, closed. Index is erased. Directory is erased.Declaration
public ResetSystemEraseTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Methods
DoLogic()
Perform the task once (ignoring repetitions specification). Return number of work items done by this task. For indexing that can be number of docs added. For warming that can be number of scanned items, etc.
Declaration
public override int DoLogic()
Returns
Type | Description |
---|---|
int | Number of work items done by this task. |