I - Input type of Task FarmO - Output type of Task FarmT - Type of the parallelized stagepublic class AdaptationThread<I,O,T extends ITaskFarmDuplicable<I,O>> extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AdaptationThread(DynamicTaskFarmStage<I,O,T> taskFarmStage)
Creates an adaptation thread for the given task farm.
|
| Modifier and Type | Method and Description |
|---|---|
TaskFarmHistoryService<I,O,T> |
getHistoryService()
Returns the
TaskFarmHistoryService of this adaptation thread, containing pipe
throughput measurements. |
PipeMonitoringService |
getPipeMonitoringService() |
SingleTaskFarmMonitoringService |
getTaskFarmMonitoringService() |
void |
run()
Start the execution of the adaptation thread.
|
void |
stopAdaptationThread()
Terminate the adaptation thread.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic AdaptationThread(DynamicTaskFarmStage<I,O,T> taskFarmStage)
taskFarmStage - given task farm instancepublic void run()
public void stopAdaptationThread()
public TaskFarmHistoryService<I,O,T> getHistoryService()
TaskFarmHistoryService of this adaptation thread, containing pipe
throughput measurements.TaskFarmHistoryService of this adaptation threadpublic PipeMonitoringService getPipeMonitoringService()
public SingleTaskFarmMonitoringService getTaskFarmMonitoringService()
Copyright © 2015–2020. All rights reserved.