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 org.apache.lucene.index.IndexReader |
openCommitPoint(String userData,
org.apache.lucene.store.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, toString
public static final String USER_DATA
public OpenReaderTask(PerfRunData runData)
public int doLogic() throws IOException
PerfTask
doLogic
in class PerfTask
IOException
public static org.apache.lucene.index.IndexReader openCommitPoint(String userData, org.apache.lucene.store.Directory dir, Config config, boolean readOnly) throws IOException
IOException
public void setParams(String params)
PerfTask
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.