| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ADD_DOC_LOG_STEP
Default value for property
doc.add.log.step |
| Constructor and Description |
|---|
AddDocTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
int |
doLogic()
Perform the task once (ignoring repetions specification)
Return number of work items done by this task.
|
void |
setParams(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 overide this method to return true.
|
void |
tearDown()
Task tearDown work that should not be measured for that specific task.
|
clone, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, shouldNeverLogAtStart, shouldNotRecordStats, toStringpublic static final int DEFAULT_ADD_DOC_LOG_STEP
doc.add.log.step - indicating how often
an "added N docs" message should be logged.public AddDocTask(PerfRunData runData)
public void setup()
throws Exception
PerfTaskpublic void tearDown()
throws Exception
PerfTaskpublic int doLogic()
throws Exception
PerfTaskpublic void setParams(String params)
public boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.