Package io.ebean.meta

Interface MetaTimedMetric

All Superinterfaces:
MetaMetric
All Known Subinterfaces:
MetaQueryMetric, TimedMetricStats

public interface MetaTimedMetric
extends MetaMetric
Timed execution statistics.
  • Method Summary

    Modifier and Type Method Description
    long getCount()
    Return the total count.
    String getLocation()
    Return the metric location if defined.
    long getMax()
    Return the max execution time in micros.
    long getMean()
    Return the mean execution time in micros.
    long getTotal()
    Return the total execution time in micros.
    boolean initialCollection()
    Return true if this is the first metrics collection for this query.

    Methods inherited from interface io.ebean.meta.MetaMetric

    getName
  • Method Details

    • getLocation

      Return the metric location if defined.
    • getCount

      long getCount()
      Return the total count.
    • getTotal

      long getTotal()
      Return the total execution time in micros.
    • getMax

      long getMax()
      Return the max execution time in micros.
    • getMean

      long getMean()
      Return the mean execution time in micros.
    • 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.