| Modifier and Type | Field | Description |
|---|---|---|
static int |
REPEAT_EXHAUST |
| Constructor | Description |
|---|---|
TaskSequence(PerfRunData runData,
String name,
TaskSequence parent,
boolean parallel) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addTask(PerfTask task) |
|
protected Object |
clone() |
|
void |
close() |
|
int |
doLogic() |
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
String |
getName() |
|
TaskSequence |
getParent() |
|
int |
getRate() |
Returns the rate per minute: how many operations should be performed in a minute.
|
int |
getRepetitions() |
|
ArrayList<PerfTask> |
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) |
|
void |
setRunTime(double sec) |
|
void |
stopNow() |
|
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackgroundDeltaPriority, getDepth, getLogMessage, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, supportsParams, tearDownpublic TaskSequence(PerfRunData runData, String name, TaskSequence parent, boolean parallel)
public boolean isParallel()
public int getRepetitions()
public void setRepetitions(int repetitions)
throws Exception
repetitions - The repetitions to set.Exceptionpublic TaskSequence getParent()
public int doLogic()
throws Exception
PerfTaskpublic void addTask(PerfTask task)
public void setNoChildReport()
public int getRate()
public void setRate(int rate,
boolean perMin)
rate - The rate to set.protected Object clone() throws CloneNotSupportedException
clone in class PerfTaskCloneNotSupportedExceptionpublic boolean isCollapsable()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.