|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.benchmark.byTask.tasks.PerfTask
org.apache.lucene.benchmark.byTask.tasks.ClearStatsTask
public class ClearStatsTask
Clear statistics data.
Other side effects: None.
Field Summary |
---|
Fields inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask |
---|
NEW_LINE, params |
Constructor Summary | |
---|---|
ClearStatsTask(PerfRunData runData)
|
Method Summary | |
---|---|
int |
doLogic()
Perform the task once (ignoring repetions specification) Return number of work items done by this task. |
protected boolean |
shouldNotRecordStats()
Tasks that should not record statistics can overide this. |
Methods inherited from class org.apache.lucene.benchmark.byTask.tasks.PerfTask |
---|
clone, getDepth, getName, getParams, getRunData, runAndMaybeStats, setDepth, setName, setParams, setup, shouldNeverLogAtStart, supportsParams, tearDown, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClearStatsTask(PerfRunData runData)
Method Detail |
---|
public int doLogic() throws java.lang.Exception
PerfTask
doLogic
in class PerfTask
java.lang.Exception
protected boolean shouldNotRecordStats()
PerfTask
shouldNotRecordStats
in class PerfTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |