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, toString
public static final String USER_DATA
public OpenReaderTask(PerfRunData runData)
public int doLogic() throws IOException
PerfTask
doLogic
in class PerfTask
IOException
public void setParams(String params)
PerfTask
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
public static IndexCommit findIndexCommit(Directory dir, String userData) throws IOException
IOException