public class ReadTokensTask extends PerfTask
doc.tokenize.log.step.| 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, toStringpublic 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 java.lang.Exception
PerfTaskpublic void tearDown()
throws java.lang.Exception
PerfTaskpublic int doLogic()
throws java.lang.Exception
PerfTaskCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.