org.encog.util.concurrency

## Class PoolItem

- java.lang.Object
- - org.encog.util.concurrency.PoolItem

- All Implemented Interfaces:
    Runnable

      public class PoolItem
      extends Object
      implements Runnable

  An Encog task being executed by the Java thread pool.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PoolItem(EngineTask task, TaskGroup group)` Create a pool item.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()` Run the task.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PoolItem

          public PoolItem(EngineTask task,
                  TaskGroup group)

      Create a pool item.
      Parameters:
        `task` - The task to execute.
        `group` - The group this task belongs to.

  - ### Method Detail

    - #### run

          public void run()

      Run the task.
      Specified by:
        `run` in interface `Runnable`

Copyright © 2014. All Rights Reserved.