| 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 IndexCommit |
findIndexCommit(Directory dir,
String userData) |
void |
setParams(String params)
Set the params of this task.
|
boolean |
supportsParams()
Sub classes that support parameters must override this method to return
true.
|
clone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringpublic static final String USER_DATA
public OpenReaderTask(PerfRunData runData)
public int doLogic()
throws IOException
PerfTaskdoLogic in class PerfTaskIOExceptionpublic void setParams(String params)
PerfTaskpublic boolean supportsParams()
PerfTasksupportsParams in class PerfTaskpublic static IndexCommit findIndexCommit(Directory dir, String userData) throws IOException
IOException