public class UpdateDocTask extends PerfTask
| Constructor and Description |
|---|
UpdateDocTask(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 |
setParams(java.lang.String params)
Set the params (docSize only)
|
void |
setup()
Task setup work that should not be measured for that specific task.
|
boolean |
supportsParams()
Sub classes that supports parameters must override this method to return true.
|
void |
tearDown()
Task tearDown work that should not be measured for that specific task.
|
clone, close, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, shouldNeverLogAtStart, shouldNotRecordStats, toStringpublic UpdateDocTask(PerfRunData runData)
public void setup()
throws java.lang.Exception
PerfTaskpublic void tearDown()
throws java.lang.Exception
PerfTaskpublic int doLogic()
throws java.lang.Exception
PerfTaskprotected java.lang.String getLogMessage(int recsCount)
getLogMessage in class PerfTaskpublic void setParams(java.lang.String params)
public boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.