C# Class Viki.LoadRunner.Engine.Strategies.Threading.IncrementalThreadCount

Inheritance: IThreadingStrategy
Exibir arquivo Open project: Vycka/LoadRunner

Public Methods

Method Description
GetAllowedCreatedThreadCount ( System.TimeSpan testExecutionTime, WorkerThreadStats workerThreadStats ) : int
GetAllowedMaxWorkingThreadCount ( System.TimeSpan testExecutionTime, WorkerThreadStats workerThreadStats ) : int
IncrementalThreadCount ( int initialThreadcount, System.TimeSpan increaseTimePeriod, int increaseBatchSize ) : System

Increases Created and working thread count periodically within execution of LoadTest

Method Details

GetAllowedCreatedThreadCount() public method

public GetAllowedCreatedThreadCount ( System.TimeSpan testExecutionTime, WorkerThreadStats workerThreadStats ) : int
testExecutionTime System.TimeSpan
workerThreadStats Viki.LoadRunner.Engine.Executor.Threads.WorkerThreadStats
return int

GetAllowedMaxWorkingThreadCount() public method

public GetAllowedMaxWorkingThreadCount ( System.TimeSpan testExecutionTime, WorkerThreadStats workerThreadStats ) : int
testExecutionTime System.TimeSpan
workerThreadStats Viki.LoadRunner.Engine.Executor.Threads.WorkerThreadStats
return int

IncrementalThreadCount() public method

Increases Created and working thread count periodically within execution of LoadTest
public IncrementalThreadCount ( int initialThreadcount, System.TimeSpan increaseTimePeriod, int increaseBatchSize ) : System
initialThreadcount int Initial Created thread count
increaseTimePeriod System.TimeSpan Delay before increasing created thread count by [increaseBatchSize]
increaseBatchSize int Amount of threads to create after each [increaseTimePeriod] time is reached
return System