C# Class Apache.NMS.ActiveMQ.Threads.PooledTaskRunner

Inheritance: TaskRunner
Afficher le fichier Open project: ThorTech/apache-nms Class Usage Examples

Méthodes publiques

Méthode Description
PooledTaskRunner ( System.Threading.Task task, int maxIterationsPerRun ) : System
Run ( Object o ) : void
Shutdown ( ) : void
Shutdown ( System.TimeSpan timeout ) : void

shut down the task

ShutdownWithAbort ( TimeSpan timeout ) : void
Wakeup ( ) : void

We Expect MANY wakeup calls on the same TaskRunner.

Private Methods

Méthode Description
RunTask ( ) : void

Method Details

PooledTaskRunner() public méthode

public PooledTaskRunner ( System.Threading.Task task, int maxIterationsPerRun ) : System
task System.Threading.Task
maxIterationsPerRun int
Résultat System

Run() public méthode

public Run ( Object o ) : void
o Object
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Shutdown() public méthode

shut down the task
public Shutdown ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
Résultat void

ShutdownWithAbort() public méthode

public ShutdownWithAbort ( TimeSpan timeout ) : void
timeout TimeSpan
Résultat void

Wakeup() public méthode

We Expect MANY wakeup calls on the same TaskRunner.
public Wakeup ( ) : void
Résultat void