public class WaitTask extends PerfTask
You can specify h, m, or s (hours, minutes, seconds) as the trailing time unit. No unit is interpreted as seconds.
Constructor and Description |
---|
WaitTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
void |
setParams(String params)
Set the params of this task.
|
boolean |
supportsParams()
Sub classes that support parameters must override this method to return
true.
|
clone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toString
public WaitTask(PerfRunData runData)
public void setParams(String params)
PerfTask
public int doLogic() throws Exception
PerfTask
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask