Class RepSumByPrefTask
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class RepSumByPrefTask : ReportTask, IDisposable
Constructors
RepSumByPrefTask(PerfRunData)
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Declaration
public RepSumByPrefTask(PerfRunData runData)
Parameters
| Type | Name | Description |
|---|---|---|
| PerfRunData | runData |
Fields
m_prefix
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Declaration
protected string m_prefix
Field Value
| Type | Description |
|---|---|
| string |
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. |
Overrides
ReportSumByPrefix(IList<TaskStats>)
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Declaration
protected virtual Report ReportSumByPrefix(IList<TaskStats> taskStats)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<TaskStats> | taskStats |
Returns
| Type | Description |
|---|---|
| Report |
SetPrefix(string)
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Declaration
public virtual void SetPrefix(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix |
ToString()
Report by-name-prefix statistics aggregated by name.
Other side effects: None.Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
See Also
ToString()