Files
ebean/ebean-api/src/main/java/io/ebean/meta/MetaTimedMetric.java
T
Rob Bygrave e7dd5570a5 Remove deprecated methods in ebean-api - meta, metric, plugin. Migrate getFoo() -> foo()
These methods are deprecated getters, migrate to the associated accessor method.
2022-04-06 18:32:52 +12:00

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();
}