public class Algorithm extends Object implements AutoCloseable
| Constructor and Description |
|---|
Algorithm(PerfRunData runData)
Read algorithm from file
Property examined: alt.tasks.packages == comma separated list of
alternate package names where tasks would be searched for, when not found
in the default package (that of
PerfTaskObject.getClass()). |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute()
Execute this algorithm
|
ArrayList<PerfTask> |
extractTasks()
Expert: for test purposes, return all tasks participating in this algorithm.
|
String |
toString() |
public Algorithm(PerfRunData runData) throws Exception
PerfTaskObject.getClass()).
If the same task class appears in more than one package, the package
indicated first in this list will be used.runData - perf-run-data used at running the tasks.Exception - if errors while parsing the algorithmpublic ArrayList<PerfTask> extractTasks()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.