Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DOC_LOG_STEP
Default value for property
doc.tokenize.log.step |
Constructor and Description |
---|
ReadTokensTask(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 |
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, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, shouldNeverLogAtStart, shouldNotRecordStats, supportsParams, toString
public static final int DEFAULT_DOC_LOG_STEP
doc.tokenize.log.step - indicating how often
an "added N docs / M tokens" message should be logged.
public ReadTokensTask(PerfRunData runData)
public void setup() throws Exception
PerfTask
public void tearDown() throws Exception
PerfTask
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.