org.knowceans.util
Interface DataTask
- All Superinterfaces:
- java.lang.Runnable, java.io.Serializable
public interface DataTask
- extends java.lang.Runnable, java.io.Serializable
DataTask represents an algorithm that can run in a thread of a
DataThreadPool. The idea is to reuse data structures and save memory. These
structures are allocated by the DataThreadPool and assigned to the different
runnables.
- Author:
- gregor
Method Summary |
void |
assignData(java.lang.Object data)
|
Methods inherited from interface java.lang.Runnable |
run |
assignData
void assignData(java.lang.Object data)
- Parameters:
data
- assigns worker-specific data arrays to this thread