public class WriteLineDocTask extends PerfTask
LineDocMaker and is intended
to save the IO overhead of opening a file per document to be indexed.| Modifier and Type | Field and Description |
|---|---|
static char |
SEP |
| Constructor and Description |
|---|
WriteLineDocTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
protected String |
getLogMessage(int recsCount) |
void |
setParams(String params)
Set the params (docSize only)
|
boolean |
supportsParams()
Sub classes that supports parameters must override this method to return true.
|
clone, getDepth, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toStringpublic static final char SEP
public WriteLineDocTask(PerfRunData runData) throws Exception
Exceptionprotected String getLogMessage(int recsCount)
getLogMessage in class PerfTaskpublic int doLogic()
throws Exception
PerfTaskpublic void setParams(String params)
public boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.