|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.byTask.utils.Algorithm
public class Algorithm
Test algorithm, as read from file
| Constructor Summary | |
|---|---|
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()). |
|
| Method Summary | |
|---|---|
void |
execute()
Execute this algorithm |
ArrayList<PerfTask> |
extractTasks()
Expert: for test purposes, return all tasks participating in this algorithm. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 algorithm| Method Detail |
|---|
public String toString()
toString in class Object
public void execute()
throws Exception
Exceptionpublic ArrayList<PerfTask> extractTasks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||