public class TaskSequence extends PerfTask
| Modifier and Type | Field and Description |
|---|---|
static int |
REPEAT_EXHAUST |
| Constructor and Description |
|---|
TaskSequence(PerfRunData runData,
java.lang.String name,
TaskSequence parent,
boolean parallel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(PerfTask task) |
protected java.lang.Object |
clone() |
int |
doLogic()
Perform the task once (ignoring repetions specification)
Return number of work items done by this task.
|
java.lang.String |
getName() |
TaskSequence |
getParent() |
int |
getRate()
Returns the rate per minute: how many operations should be performed in a minute.
|
int |
getRepetitions() |
java.util.ArrayList |
getTasks() |
boolean |
isCollapsable()
Return true if can be collapsed in case it is outermost sequence
|
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) |
java.lang.String |
toString() |
getDepth, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setup, shouldNeverLogAtStart, shouldNotRecordStats, supportsParams, tearDownpublic TaskSequence(PerfRunData runData, java.lang.String name, TaskSequence parent, boolean parallel)
public boolean isParallel()
public int getRepetitions()
public void setRepetitions(int repetitions)
throws java.lang.Exception
repetitions - The repetitions to set.java.lang.Exceptionpublic TaskSequence getParent()
public int doLogic()
throws java.lang.Exception
PerfTaskpublic void addTask(PerfTask task)
public void setNoChildReport()
public int getRate()
public void setRate(int rate,
boolean perMin)
rate - The rate to set.public java.lang.String getName()
public java.util.ArrayList getTasks()
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public boolean isCollapsable()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.