mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
These methods are deprecated getters, migrate to the associated accessor method.
43 lines
709 B
Java
43 lines
709 B
Java
package io.ebean.meta;
|
|
|
|
|
|
/**
|
|
* Timed execution statistics.
|
|
*/
|
|
public interface MetaTimedMetric extends MetaMetric {
|
|
|
|
/**
|
|
* Return the metric location if defined.
|
|
*/
|
|
String location();
|
|
|
|
/**
|
|
* Return the total count.
|
|
*/
|
|
long count();
|
|
|
|
/**
|
|
* Return the total execution time in micros.
|
|
*/
|
|
long total();
|
|
|
|
/**
|
|
* Return the max execution time in micros.
|
|
*/
|
|
long max();
|
|
|
|
/**
|
|
* Return the mean execution time in micros.
|
|
*/
|
|
long mean();
|
|
|
|
/**
|
|
* Return true if this is the first metrics collection for this query.
|
|
* <p>
|
|
* This can be used to suppress including the SQL and location from metrics
|
|
* content.
|
|
* </p>
|
|
*/
|
|
boolean initialCollection();
|
|
}
|