- All Superinterfaces:
MetaMetric
- All Known Subinterfaces:
MetaQueryMetric
,TimedMetricStats
Timed execution statistics.
-
Method Summary
Modifier and TypeMethodDescriptionlong
count()
Return the total count.boolean
Return true if this is the first metrics collection for this query.location()
Return the metric location if defined.long
max()
Return the max execution time in micros.long
mean()
Return the mean execution time in micros.long
total()
Return the total execution time in micros.Methods inherited from interface io.ebean.meta.MetaMetric
name
-
Method Details
-
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.
-