public class AddFacetedDocTask extends AddDocTask
Config properties:
See AddDocTask
for general document parameters and configuration.
Makes use of the FacetSource
in effect - see PerfRunData
for facet source settings.
doc
Constructor and Description |
---|
AddFacetedDocTask(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.
|
protected String |
getLogMessage(int recsCount) |
void |
setup()
Task setup work that should not be measured for that specific task.
|
setParams, supportsParams, tearDown
clone, close, getBackgroundDeltaPriority, getDepth, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, toString
public AddFacetedDocTask(PerfRunData runData)
public void setup() throws Exception
PerfTask
PerfTask.doLogic()
to this method. Only the work done in PerfTask.doLogic()
is measured for this task. Notice that higher level (sequence) tasks
containing this task would then measure larger time than the sum of their
contained tasks.setup
in class AddDocTask
Exception
protected String getLogMessage(int recsCount)
getLogMessage
in class AddDocTask
public int doLogic() throws Exception
PerfTask
doLogic
in class AddDocTask
Exception