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.
Method Summary |
void |
run()
Run the task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolItem
public PoolItem(EngineTask task,
TaskGroup group)
- Create a pool item.
- Parameters:
task
- The task to execute.group
- The group this task belongs to.
run
public void run()
- Run the task.
- Specified by:
run
in interface Runnable
Copyright © 2014. All Rights Reserved.