org.apache.lucene.benchmark.byTask.tasks
public class TaskSequence extends PerfTask
| Field Summary | |
|---|---|
| static int | REPEAT_EXHAUST |
| Constructor Summary | |
|---|---|
| TaskSequence(PerfRunData runData, String name, TaskSequence parent, boolean parallel) | |
| Method Summary | |
|---|---|
| void | addTask(PerfTask task) |
| protected Object | clone() |
| int | doLogic() |
| String | getName() |
| TaskSequence | getParent() |
| int | getRate()
Returns the rate per minute: how many operations should be performed in a minute.
|
| int | getRepetitions() |
| ArrayList | getTasks() |
| boolean | isParallel() |
| void | setNoChildReport()
Execute child tasks in a way that they do not report their time separately. |
| void | setRate(int rate, boolean perMin) |
| void | setRepetitions(int repetitions) |
| String | toString() |
Returns: Returns the parent.
Returns: the rate per min: how many operations should be performed in a minute.
Returns: Returns the repetitions.
Returns: Returns the tasks.
Returns: Returns the parallel.
Parameters: rate The rate to set.
Parameters: repetitions The repetitions to set.
Throws: Exception