public interface ParallelAlgorithm extends CloneableSerializable
| Modifier and Type | Method and Description |
|---|---|
int |
getNumThreads()
Gets the number of threads in the thread pool.
|
java.util.concurrent.ThreadPoolExecutor |
getThreadPool()
Gets the thread pool for the algorithm to use.
|
void |
setThreadPool(java.util.concurrent.ThreadPoolExecutor threadPool)
Sets the thread pool for the algorithm to use.
|
clonejava.util.concurrent.ThreadPoolExecutor getThreadPool()
void setThreadPool(java.util.concurrent.ThreadPoolExecutor threadPool)
threadPool - Thread pool used for parallelization.int getNumThreads()