public class ReadTokensTask extends PerfTask
Constructor and Description |
---|
ReadTokensTask(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.
|
protected java.lang.String |
getLogMessage(int recsCount) |
void |
setup()
Task setup work that should not be measured for that specific task.
|
void |
tearDown()
Task tearDown work that should not be measured for that specific task.
|
clone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setParams, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, supportsParams, toString
public ReadTokensTask(PerfRunData runData)
public void setup() throws java.lang.Exception
PerfTask
PerfTask.doLogic()
to this method. Only the work done in PerfTask.doLogic()
is measured for this task. Notice that higher level (sequence) tasks
containing this task would then measure larger time than the sum of their
contained tasks.protected java.lang.String getLogMessage(int recsCount)
getLogMessage
in class PerfTask
public void tearDown() throws java.lang.Exception
PerfTask
PerfTask.doLogic()
to this method. Only the work done in PerfTask.doLogic()
is measured for this task. Notice that higher level (sequence) tasks
containing this task would then measure larger time than the sum of their
contained tasks.public int doLogic() throws java.lang.Exception
PerfTask
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.