Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WRITELINE_DOC_LOG_STEP
Default value for property
doc.add.log.step |
static String |
SEP |
Constructor and Description |
---|
WriteLineDocTask(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, toString
public static final int DEFAULT_WRITELINE_DOC_LOG_STEP
doc.add.log.step - indicating how often
an "added N docs" message should be logged.
public static final String SEP
public WriteLineDocTask(PerfRunData runData)
public void setup() throws Exception
PerfTask
public void tearDown() throws Exception
PerfTask
public int doLogic() throws Exception
PerfTask
public void setParams(String params)
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.