| Constructor and Description |
|---|
NewAnalyzerTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
static 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 (analyzerName only), Comma-separate list of Analyzer class names.
|
boolean |
supportsParams()
Sub classes that support parameters must override this method to return
true.
|
clone, close, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringpublic NewAnalyzerTask(PerfRunData runData)
public static final Analyzer createAnalyzer(String className) throws Exception
Exceptionpublic int doLogic()
throws IOException
PerfTaskdoLogic in class PerfTaskIOExceptionpublic void setParams(String params)
Analyzer names may also refer to previously defined AnalyzerFactory's.
Example Declaration: {"NewAnalyzer" NewAnalyzer(WhitespaceAnalyzer, SimpleAnalyzer, StopAnalyzer, standard.StandardAnalyzer) >
Example AnalyzerFactory usage:
-AnalyzerFactory(name:'whitespace tokenized',WhitespaceTokenizer)
-NewAnalyzer('whitespace tokenized')
public boolean supportsParams()
PerfTasksupportsParams in class PerfTaskCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.