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

Inheritance: TaskRunner
Show file Open project: ThorTech/apache-nms Class Usage Examples

Public Methods

Method 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

Method Description
RunTask ( ) : void

Method Details

PooledTaskRunner() public method

public PooledTaskRunner ( System.Threading.Task task, int maxIterationsPerRun ) : System
task System.Threading.Task
maxIterationsPerRun int
return System

Run() public method

public Run ( Object o ) : void
o Object
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Shutdown() public method

shut down the task
public Shutdown ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
return void

ShutdownWithAbort() public method

public ShutdownWithAbort ( TimeSpan timeout ) : void
timeout TimeSpan
return void

Wakeup() public method

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