Show / Hide Table of Contents

    Class TaskSequence

    Sequence of parallel or sequential tasks.

    Inheritance
    System.Object
    PerfTask
    TaskSequence
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(Int32)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.Dispose()
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.GetLogMessage(Int32)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Setup()
    PerfTask.TearDown()
    PerfTask.SupportsParams
    PerfTask.SetParams(String)
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class TaskSequence : PerfTask

    Constructors

    | Improve this Doc View Source

    TaskSequence(PerfRunData, String, TaskSequence, Boolean)

    Declaration
    public TaskSequence(PerfRunData runData, String name, TaskSequence parent, bool parallel)
    Parameters
    Type Name Description
    PerfRunData runData
    String name
    TaskSequence parent
    System.Boolean parallel

    Fields

    | Improve this Doc View Source

    REPEAT_EXHAUST

    Declaration
    public static int REPEAT_EXHAUST
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    IsCollapsable

    Return true if can be collapsed in case it is outermost sequence.

    Declaration
    public virtual bool IsCollapsable { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsParallel

    Gets the parallel.

    Declaration
    public virtual bool IsParallel { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Parent

    Gets the parent.

    Declaration
    public virtual TaskSequence Parent { get; }
    Property Value
    Type Description
    TaskSequence
    | Improve this Doc View Source

    Repetitions

    Gets the repetitions.

    Declaration
    public virtual int Repetitions { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Tasks

    Gets the tasks.

    Declaration
    public virtual IList<PerfTask> Tasks { get; }
    Property Value
    Type Description
    IList<PerfTask>

    Methods

    | Improve this Doc View Source

    AddTask(PerfTask)

    Declaration
    public virtual void AddTask(PerfTask task)
    Parameters
    Type Name Description
    PerfTask task
    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    PerfTask.Clone()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    PerfTask.Dispose(Boolean)
    | Improve this Doc View Source

    DoLogic()

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

    GetName()

    Declaration
    public override string GetName()
    Returns
    Type Description
    System.String
    Overrides
    PerfTask.GetName()
    | Improve this Doc View Source

    GetRate()

    Returns the rate per minute: how many operations should be performed in a minute. If 0 this has no effect.

    Declaration
    public virtual int GetRate()
    Returns
    Type Description
    System.Int32

    The rate per min: how many operations should be performed in a minute.

    | Improve this Doc View Source

    SetNoChildReport()

    Execute child tasks in a way that they do not report their time separately.

    Declaration
    public virtual void SetNoChildReport()
    | Improve this Doc View Source

    SetRate(Int32, Boolean)

    Declaration
    public virtual void SetRate(int rate, bool perMin)
    Parameters
    Type Name Description
    System.Int32 rate

    The rate to set.

    System.Boolean perMin
    | Improve this Doc View Source

    SetRepetitions(Int32)

    Sets the repetitions.

    Declaration
    public virtual void SetRepetitions(int repetitions)
    Parameters
    Type Name Description
    System.Int32 repetitions

    The repetitions to set.

    | Improve this Doc View Source

    SetRunTime(Double)

    Declaration
    public virtual void SetRunTime(double sec)
    Parameters
    Type Name Description
    System.Double sec
    | Improve this Doc View Source

    StopNow()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    PerfTask.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)