Cloneablepublic class WarmTask extends ReadTask
Note: This task reuses the reader if it is already open. Otherwise a reader is opened at start and closed at the end.
Other side effects: counts additional 1 (record) for each retrieved (non null) document.
| Constructor | Description |
|---|---|
WarmTask(PerfRunData runData) |
| Modifier and Type | Method | Description |
|---|---|---|
QueryMaker |
getQueryMaker() |
Return query maker used for this task.
|
boolean |
withRetrieve() |
Return true if, with search & results traversing, docs should be retrieved.
|
boolean |
withSearch() |
Return true if search should be performed.
|
boolean |
withTraverse() |
Return true if, with search, results should be traversed.
|
boolean |
withWarm() |
Return true if warming should be performed.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, close, getBackgroundDeltaPriority, getDepth, getLogMessage, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setParams, setRunInBackground, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, supportsParams, tearDown, toStringcreateCollector, doLogic, getBenchmarkHighlighter, getFieldsToHighlight, getSort, numHits, numToHighlight, retrieveDoc, setup, traversalSize, withCollector, withMaxScore, withScorepublic WarmTask(PerfRunData runData)
public boolean withRetrieve()
ReadTaskwithRetrieve in class ReadTaskpublic boolean withSearch()
ReadTaskwithSearch in class ReadTaskpublic boolean withTraverse()
ReadTaskwithTraverse in class ReadTaskpublic boolean withWarm()
ReadTaskpublic QueryMaker getQueryMaker()
ReadTaskgetQueryMaker in class ReadTaskCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.