C# Class Viki.LoadRunner.Engine.Executor.Threads.ThreadCoordinator

Inheritance: IDisposable
显示文件 Open project: Vycka/LoadRunner

Public Properties

Property Type Description
InitialUserData object

Public Methods

Method Description
AssertThreadErrors ( ) : void
BuildWorkerThreadStats ( ) : WorkerThreadStats
Dispose ( ) : void
InitializeThreadsAsync ( int threadCount ) : void
StopAndDispose ( int timeoutMilliseconds ) : void
StopWorkersAsync ( int threadCount ) : void
ThreadCoordinator ( Type testScenarioType, ITimer executionTimer, int initialThreadCount ) : System
TryEnqueueSingleIteration ( ) : bool

Private Methods

Method Description
CreateThreads ( int threadCount ) : IEnumerable
ExecutorThreadScenarioIterationFinished ( TestExecutorThread sender, IterationResult result ) : void
ExecutorThread_ThreadFailed ( TestExecutorThread sender, IterationResult result, Exception ex ) : void
InitializeThreads ( int threadCount ) : void
NewThread_ScenarioSetupSucceeded ( TestExecutorThread sender ) : void
OnScenarioExecutionFinished ( IterationResult result ) : void
TryDequeueFreeThread ( ) : TestExecutorThread
TryRemoveThread ( int threadId ) : void

Method Details

AssertThreadErrors() public method

public AssertThreadErrors ( ) : void
return void

BuildWorkerThreadStats() public method

public BuildWorkerThreadStats ( ) : WorkerThreadStats
return WorkerThreadStats

Dispose() public method

public Dispose ( ) : void
return void

InitializeThreadsAsync() public method

public InitializeThreadsAsync ( int threadCount ) : void
threadCount int
return void

StopAndDispose() public method

public StopAndDispose ( int timeoutMilliseconds ) : void
timeoutMilliseconds int
return void

StopWorkersAsync() public method

public StopWorkersAsync ( int threadCount ) : void
threadCount int
return void

ThreadCoordinator() public method

public ThreadCoordinator ( Type testScenarioType, ITimer executionTimer, int initialThreadCount ) : System
testScenarioType System.Type
executionTimer ITimer
initialThreadCount int
return System

TryEnqueueSingleIteration() public method

public TryEnqueueSingleIteration ( ) : bool
return bool

Property Details

InitialUserData public_oe property

public object InitialUserData
return object