Show / Hide Table of Contents

# Class CompositeTaskRunner

A TaskRunner that dedicates a single thread to running a single Task.

##### Inheritance

System.Object
CompositeTaskRunner

##### Implements

TaskRunner

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Threads

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class CompositeTaskRunner : TaskRunner

### Constructors

| Improve this Doc View Source

#### CompositeTaskRunner()

##### Declaration

    public CompositeTaskRunner()

| Improve this Doc View Source

#### CompositeTaskRunner(String)

##### Declaration

    public CompositeTaskRunner(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | name |

### Methods

| Improve this Doc View Source

#### AddTask(CompositeTask)

##### Declaration

    public void AddTask(CompositeTask task)

##### Parameters

Type | Name | Description
--- | --- | ---
CompositeTask | task |

| Improve this Doc View Source

#### RemoveTask(CompositeTask)

##### Declaration

    public void RemoveTask(CompositeTask task)

##### Parameters

Type | Name | Description
--- | --- | ---
CompositeTask | task |

| Improve this Doc View Source

#### Shutdown()

##### Declaration

    public void Shutdown()

| Improve this Doc View Source

#### Shutdown(TimeSpan)

##### Declaration

    public void Shutdown(TimeSpan timeout)

##### Parameters

Type | Name | Description
--- | --- | ---
System.TimeSpan | timeout |

| Improve this Doc View Source

#### ShutdownWithAbort(TimeSpan)

##### Declaration

    public void ShutdownWithAbort(TimeSpan timeout)

##### Parameters

Type | Name | Description
--- | --- | ---
System.TimeSpan | timeout |

| Improve this Doc View Source

#### Wakeup()

##### Declaration

    public void Wakeup()

### Implements

TaskRunner