Class ExtraQueryTime
- java.lang.Object
-
- org.intermine.objectstore.intermine.ExtraQueryTime
-
public class ExtraQueryTime extends java.lang.Object
An object that holds information about extra queries run during the ResultsConverter operation.- Author:
- Matthew Wakeling
-
-
Constructor Summary
Constructors Constructor Description ExtraQueryTime()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTime(long time)
Adds statistics for an executed query to this object.long
getQueryTime()
Returns the total amount of time spent in extra queries, in milliseconds.
-
-
-
Method Detail
-
addTime
public void addTime(long time)
Adds statistics for an executed query to this object.- Parameters:
time
- the time taken in milliseconds for the query
-
getQueryTime
public long getQueryTime()
Returns the total amount of time spent in extra queries, in milliseconds.- Returns:
- a long
-
-