Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ResetInputsTask

    Reset inputs so that the test run would behave, input wise, as if it just started. This affects e.g. the generation of docs and queries.

    Inheritance
    object
    PerfTask
    ResetInputsTask
    ResetSystemSoftTask
    Implements
    IDisposable
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(int)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.StopNow()
    PerfTask.Clone()
    PerfTask.Dispose()
    PerfTask.Dispose(bool)
    PerfTask.RunAndMaybeStats(bool)
    PerfTask.GetName()
    PerfTask.SetName(string)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.GetLogMessage(int)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.Setup()
    PerfTask.TearDown()
    PerfTask.SupportsParams
    PerfTask.SetParams(string)
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class ResetInputsTask : PerfTask, IDisposable

    Constructors

    ResetInputsTask(PerfRunData)

    Reset inputs so that the test run would behave, input wise, as if it just started. This affects e.g. the generation of docs and queries.

    Declaration
    public ResetInputsTask(PerfRunData runData)
    Parameters
    Type Name Description
    PerfRunData runData

    Properties

    ShouldNotRecordStats

    Reset inputs so that the test run would behave, input wise, as if it just started. This affects e.g. the generation of docs and queries.

    Declaration
    protected override bool ShouldNotRecordStats { get; }
    Property Value
    Type Description
    bool
    Overrides
    PerfTask.ShouldNotRecordStats
    See Also
    ShouldNotRecordStats

    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
    PerfTask.DoLogic()

    Implements

    IDisposable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.