-
- 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 longcount()Return the total count.booleaninitialCollection()Return true if this is the first metrics collection for this query.Stringlocation()Return the metric location if defined.longmax()Return the max execution time in micros.longmean()Return the mean execution time in micros.longtotal()Return the total execution time in micros.-
Methods inherited from interface io.ebean.meta.MetaMetric
name
-
-
-
-
Method Detail
-
location
String location()
Return the metric location if defined.
-
count
long count()
Return the total count.
-
total
long total()
Return the total execution time in micros.
-
max
long max()
Return the max execution time in micros.
-
mean
long mean()
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.
-
-