public class ElapsedTime extends Object
Constructor and Description |
---|
ElapsedTime() |
Modifier and Type | Method and Description |
---|---|
void |
add(TimeTracker track) |
String |
detailedReport() |
long |
fillTime()
Total amount of time spent in all threads for this Execution while
fetching document contents, or preparing to fetch them.
|
long |
first()
Time stamp of start of the first event registered.
|
long |
firstFill()
The time of the start of the first document fill requested.
|
boolean |
hasDetailedData() |
long |
last()
Time stamp of the end the last event registered.
|
void |
merge(ElapsedTime other) |
long |
pingTime()
Total amount of time spent in all threads for this Execution while
pinging, or preparing to ping, a backend.
|
long |
searchTime()
Total amount of time spent in all threads for this Execution while
searching or waiting for (a) backend(s) doing (a) search(es).
|
long |
totalTime()
Total amount of time spent for this ElapsedTime instance.
|
long |
weightedFillTime()
Give an estimate on how much of the time tracked by this
instance was used fetching document contents.
|
long |
weightedPingTime()
Give a relative estimate on how much of the time tracked by this
instance was used pinging backends.
|
long |
weightedSearchTime()
Give a relative estimate on how much of the time tracked by this
instance was used searching.
|
public void add(TimeTracker track)
public long weightedFillTime()
public long fillTime()
public long totalTime()
public long weightedSearchTime()
public long searchTime()
public long pingTime()
public long weightedPingTime()
public long first()
public long last()
public void merge(ElapsedTime other)
public long firstFill()
public boolean hasDetailedData()
public String detailedReport()
Copyright © 2018. All rights reserved.