Class TaskSequence
Sequence of parallel or sequential tasks.
Implements
System.IDisposable
  Inherited Members
      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 TaskSequence : PerfTask, IDisposable
  Constructors
| Improve this Doc View SourceTaskSequence(PerfRunData, String, TaskSequence, Boolean)
Declaration
public TaskSequence(PerfRunData runData, string name, TaskSequence parent, bool parallel)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfRunData | runData | |
| System.String | name | |
| TaskSequence | parent | |
| System.Boolean | parallel | 
Fields
| Improve this Doc View SourceREPEAT_EXHAUST
Declaration
public static int REPEAT_EXHAUST
  Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
| Improve this Doc View SourceIsCollapsable
Return true if can be collapsed in case it is outermost sequence.
Declaration
public virtual bool IsCollapsable { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IsParallel
Gets the parallel.
Declaration
public virtual bool IsParallel { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
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 | 
|---|---|
| System.Int32 | 
Tasks
Gets the tasks.
Declaration
public virtual IList<PerfTask> Tasks { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<PerfTask> | 
Methods
| Improve this Doc View SourceAddTask(PerfTask)
Declaration
public virtual void AddTask(PerfTask task)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfTask | task | 
Clone()
Declaration
public override object Clone()
  Returns
| Type | Description | 
|---|---|
| System.Object | 
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Overrides
| Improve this Doc View SourceDoLogic()
Declaration
public override int DoLogic()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
See Also
DoLogic()
  GetName()
Declaration
public override string GetName()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
| Improve this Doc View SourceGetRate()
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.  | 
      
SetNoChildReport()
Execute child tasks in a way that they do not report their time separately.
Declaration
public virtual void SetNoChildReport()
  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 | 
SetRepetitions(Int32)
Sets the repetitions.
Declaration
public virtual void SetRepetitions(int repetitions)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | repetitions | The repetitions to set.  | 
      
SetRunTime(Double)
Declaration
public virtual void SetRunTime(double sec)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | sec | 
StopNow()
Declaration
public override void StopNow()
  Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
See Also
System.Object.ToString()
  Implements
      System.IDisposable