Package io.ebean.meta
Interface MetaTimedMetric
- All Superinterfaces:
MetaMetric
- All Known Subinterfaces:
MetaQueryMetric,TimedMetricStats
Timed execution statistics.
-
Method Summary
Modifier and TypeMethodDescriptionlongcount()Return the total count.default longgetCount()Deprecated.default StringDeprecated.default longgetMax()Deprecated.default longgetMean()Deprecated.default longgetTotal()Deprecated.booleanReturn true if this is the first metrics collection for this query.location()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
getName, name
-
Method Details
-
location
Return the metric location if defined. -
getLocation
Deprecated.Migrate to location() -
count
long count()Return the total count. -
getCount
Deprecated.Migrate to count() -
total
long total()Return the total execution time in micros. -
getTotal
Deprecated.Migrate to total() -
max
long max()Return the max execution time in micros. -
getMax
Deprecated.Migrate to max() -
mean
long mean()Return the mean execution time in micros. -
getMean
Deprecated.Migrate to mean() -
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.
-