Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AddDocTask

    Add a document, optionally of a certain size.

    Other side effects: none.

    Takes optional param: document size.

    Inheritance
    System.Object
    PerfTask
    AddDocTask
    AddFacetedDocTask
    Implements
    System.IDisposable
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(Int32)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.StopNow()
    PerfTask.Clone()
    PerfTask.Dispose()
    PerfTask.Dispose(Boolean)
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.GetName()
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class AddDocTask : PerfTask, IDisposable

    Constructors

    | Improve this Doc View Source

    AddDocTask(PerfRunData)

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

    Fields

    | Improve this Doc View Source

    m_doc

    Volatile data passed between Setup(), DoLogic(), TearDown(). The doc is created at Setup() and added at DoLogic().

    Declaration
    protected Document m_doc
    Field Value
    Type Description
    Lucene.Net.Documents.Document

    Properties

    | Improve this Doc View Source

    SupportsParams

    Declaration
    public override bool SupportsParams { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PerfTask.SupportsParams
    See Also
    SupportsParams

    Methods

    | Improve this Doc View Source

    DoLogic()

    Declaration
    public override int DoLogic()
    Returns
    Type Description
    System.Int32
    Overrides
    PerfTask.DoLogic()
    | Improve this Doc View Source

    GetLogMessage(Int32)

    Declaration
    protected override string GetLogMessage(int recsCount)
    Parameters
    Type Name Description
    System.Int32 recsCount
    Returns
    Type Description
    System.String
    Overrides
    PerfTask.GetLogMessage(Int32)
    | Improve this Doc View Source

    SetParams(String)

    Set the params (docSize only).

    Declaration
    public override void SetParams(string params)
    Parameters
    Type Name Description
    System.String params

    docSize, or 0 for no limit.

    Overrides
    PerfTask.SetParams(String)
    | Improve this Doc View Source

    Setup()

    Declaration
    public override void Setup()
    Overrides
    PerfTask.Setup()
    | Improve this Doc View Source

    TearDown()

    Declaration
    public override void TearDown()
    Overrides
    PerfTask.TearDown()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.