Show / Hide Table of Contents

    Class SetPropTask

    Set a performance test configuration property. A property may have a single value, or a sequence of values, separated by ":". If a sequence of values is specified, each time a new round starts, the next (cyclic) value is taken.

    Other side effects: none.

    Takes mandatory param: "name,value" pair.

    Inheritance
    System.Object
    PerfTask
    SetPropTask
    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.GetLogMessage(Int32)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Setup()
    PerfTask.TearDown()
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class SetPropTask : PerfTask

    Constructors

    | Improve this Doc View Source

    SetPropTask(PerfRunData)

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

    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

    SetParams(String)

    Set the params (property name and value).

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

    Property name and value separated by ','.

    Overrides
    PerfTask.SetParams(String)

    See Also

    NewRoundTask
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)