| Constructor and Description |
|---|
OpenReaderTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
static IndexReader |
openCommitPoint(String userData,
Directory dir,
Config config,
boolean readOnly) |
void |
setParams(String params)
Set the params of this task.
|
boolean |
supportsParams()
Sub classes that supports parameters must override this method to return true.
|
clone, close, getDepth, getLogMessage, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toStringpublic static final String USER_DATA
public OpenReaderTask(PerfRunData runData)
public int doLogic()
throws IOException
PerfTaskdoLogic in class PerfTaskIOExceptionpublic static IndexReader openCommitPoint(String userData, Directory dir, Config config, boolean readOnly) throws IOException
IOExceptionpublic void setParams(String params)
PerfTaskpublic boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.