Class NewRoundTask
Increment the counter for properties maintained by Round Number.
Other side effects: if there are props by round number, log value change.Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class NewRoundTask : PerfTask, IDisposable
Constructors
NewRoundTask(PerfRunData)
Increment the counter for properties maintained by Round Number.
Other side effects: if there are props by round number, log value change.Declaration
public NewRoundTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Properties
ShouldNotRecordStats
Increment the counter for properties maintained by Round Number.
Other side effects: if there are props by round number, log value change.Declaration
protected override bool ShouldNotRecordStats { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
See Also
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. |