Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TaskSequence

    Sequence of parallel or sequential tasks.

    Inheritance
    object
    PerfTask
    TaskSequence
    Implements
    IDisposable
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(int)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.Dispose()
    PerfTask.RunAndMaybeStats(bool)
    PerfTask.SetName(string)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.GetLogMessage(int)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    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 TaskSequence : PerfTask, IDisposable

    Constructors

    TaskSequence(PerfRunData, string, TaskSequence, bool)

    Sequence of parallel or sequential tasks.

    Declaration
    public TaskSequence(PerfRunData runData, string name, TaskSequence parent, bool parallel)
    Parameters
    Type Name Description
    PerfRunData runData
    string name
    TaskSequence parent
    bool parallel

    Fields

    REPEAT_EXHAUST

    Sequence of parallel or sequential tasks.

    Declaration
    public static int REPEAT_EXHAUST
    Field Value
    Type Description
    int

    Properties

    IsCollapsable

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

    Declaration
    public virtual bool IsCollapsable { get; }
    Property Value
    Type Description
    bool

    IsParallel

    Gets the parallel.

    Declaration
    public virtual bool IsParallel { get; }
    Property Value
    Type Description
    bool

    Parent

    Gets the parent.

    Declaration
    public virtual TaskSequence Parent { get; }
    Property Value
    Type Description
    TaskSequence

    Repetitions

    Gets the repetitions.

    Declaration
    public virtual int Repetitions { get; }
    Property Value
    Type Description
    int

    Tasks

    Gets the tasks.

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

    Methods

    AddTask(PerfTask)

    Sequence of parallel or sequential tasks.

    Declaration
    public virtual void AddTask(PerfTask task)
    Parameters
    Type Name Description
    PerfTask task

    Clone()

    Sequence of parallel or sequential tasks.

    Declaration
    public override object Clone()
    Returns
    Type Description
    object
    Overrides
    PerfTask.Clone()

    Dispose(bool)

    Sequence of parallel or sequential tasks.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    PerfTask.Dispose(bool)

    DoLogic()

    Sequence of parallel or sequential tasks.

    Declaration
    public override int DoLogic()
    Returns
    Type Description
    int
    Overrides
    PerfTask.DoLogic()
    See Also
    DoLogic()

    GetName()

    Returns the name.

    Declaration
    public override string GetName()
    Returns
    Type Description
    string
    Overrides
    PerfTask.GetName()

    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
    int

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

    SetNoChildReport()

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

    Declaration
    public virtual void SetNoChildReport()

    SetRate(int, bool)

    Sequence of parallel or sequential tasks.

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

    The rate to set.

    bool perMin

    SetRepetitions(int)

    Sets the repetitions.

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

    The repetitions to set.

    SetRunTime(double)

    Sequence of parallel or sequential tasks.

    Declaration
    public virtual void SetRunTime(double sec)
    Parameters
    Type Name Description
    double sec

    StopNow()

    Sequence of parallel or sequential tasks.

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

    ToString()

    Sequence of parallel or sequential tasks.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    PerfTask.ToString()
    See Also
    ToString()

    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.