| Constructor | Description |
|---|---|
NewAnalyzerTask(PerfRunData runData) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.lucene.analysis.Analyzer |
createAnalyzer(String className) |
|
int |
doLogic() |
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
void |
setParams(String params) |
Set the params (analyzerClassName only), Comma-separate list of Analyzer class names.
|
boolean |
supportsParams() |
Sub classes that support parameters must override this method to return
true.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringpublic NewAnalyzerTask(PerfRunData runData)
public static final org.apache.lucene.analysis.Analyzer createAnalyzer(String className) throws Exception
Exceptionpublic int doLogic()
throws IOException
PerfTaskdoLogic in class PerfTaskIOExceptionpublic void setParams(String params)
public boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.