Show / Hide Table of Contents

# Interface CompositeTask

A Composite task is one of N tasks that can be managed by a CompositTaskRunner instance. The CompositeTaskRunner checks each task when its wakeup method is called to determine if the Task has any work it needs to complete, if no tasks have any pending work then the CompositeTaskRunner can return to its sleep state until the next time its wakeup method is called or it is shut down.

##### Inherited Members

Task.Iterate()

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

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

##### Syntax

    public interface CompositeTask : Task

### Properties

| Improve this Doc View Source

#### IsPending

Indicates if this Task has any pending work.

##### Declaration

    bool IsPending { get; }

##### Property Value

Type | Description
--- | ---
System.Boolean |