Cloneable
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 | Description |
---|---|
WaitTask(PerfRunData runData) |
Modifier and Type | Method | 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.