Package io.ebean.meta
Interface MetaTimedMetric
-
- All Superinterfaces:
MetaMetric
- All Known Subinterfaces:
MetaQueryMetric,TimedMetricStats
public interface MetaTimedMetric extends MetaMetric
Timed execution statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCount()Return the total count.StringgetLocation()Return the metric location if defined.longgetMax()Return the max execution time in micros.longgetMean()Return the mean execution time in micros.longgetTotal()Return the total execution time in micros.booleaninitialCollection()Return true if this is the first metrics collection for this query.-
Methods inherited from interface io.ebean.meta.MetaMetric
getName
-
-
-
-
Method Detail
-
getLocation
String getLocation()
Return the metric location if defined.
-
getCount
long getCount()
Return the total count.
-
getTotal
long getTotal()
Return the total execution time in micros.
-
getMax
long getMax()
Return the max execution time in micros.
-
getMean
long getMean()
Return the mean execution time in micros.
-
initialCollection
boolean initialCollection()
Return true if this is the first metrics collection for this query.This can be used to suppress including the SQL and location from metrics content.
-
-