C# Class Helios.MultiNodeTests.TestKit.AssertExecutor

IExecutor implementation that collects unhandled exceptions into an internal buffer, which is exposed via the Exceptions collection.
Inheritance: IExecutor
Afficher le fichier Open project: helios-io/helios Class Usage Examples

Méthodes publiques

Свойство Type Description
Exceptions ConcurrentCircularBuffer

Méthodes publiques

Méthode Description
AssertExecutor ( ) : System
Clone ( ) : IExecutor
Execute ( System.Action op ) : void
Execute ( IList op ) : void
Execute ( IList ops, Action remainingOps ) : void
Execute ( Task task ) : void
ExecuteAsync ( System.Action op ) : Task
ExecuteAsync ( IList op ) : Task
ExecuteAsync ( IList ops, Action remainingOps ) : Task
GracefulShutdown ( System.TimeSpan gracePeriod ) : Task
InThread ( Thread thread ) : bool
Shutdown ( ) : void
Shutdown ( System.TimeSpan gracePeriod ) : void

Method Details

AssertExecutor() public méthode

public AssertExecutor ( ) : System
Résultat System

Clone() public méthode

public Clone ( ) : IExecutor
Résultat IExecutor

Execute() public méthode

public Execute ( System.Action op ) : void
op System.Action
Résultat void

Execute() public méthode

public Execute ( IList op ) : void
op IList
Résultat void

Execute() public méthode

public Execute ( IList ops, Action remainingOps ) : void
ops IList
remainingOps Action
Résultat void

Execute() public méthode

public Execute ( Task task ) : void
task Task
Résultat void

ExecuteAsync() public méthode

public ExecuteAsync ( System.Action op ) : Task
op System.Action
Résultat Task

ExecuteAsync() public méthode

public ExecuteAsync ( IList op ) : Task
op IList
Résultat Task

ExecuteAsync() public méthode

public ExecuteAsync ( IList ops, Action remainingOps ) : Task
ops IList
remainingOps Action
Résultat Task

GracefulShutdown() public méthode

public GracefulShutdown ( System.TimeSpan gracePeriod ) : Task
gracePeriod System.TimeSpan
Résultat Task

InThread() public méthode

public InThread ( Thread thread ) : bool
thread Thread
Résultat bool

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Shutdown() public méthode

public Shutdown ( System.TimeSpan gracePeriod ) : void
gracePeriod System.TimeSpan
Résultat void

Property Details

Exceptions public_oe property

public ConcurrentCircularBuffer Exceptions
Résultat ConcurrentCircularBuffer