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
    Return the total count.
    default long
    Deprecated.
    default String
    Deprecated.
    default long
    Deprecated.
    default long
    Deprecated.
    default long
    Deprecated.
    boolean
    Return true if this is the first metrics collection for this query.
    Return the metric location if defined.
    long
    max()
    Return the max execution time in micros.
    long
    Return the mean execution time in micros.
    long
    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 default long getCount()
      Deprecated.
      Migrate to count()
    • total

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

      @Deprecated default long getTotal()
      Deprecated.
      Migrate to total()
    • max

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

      @Deprecated default long getMax()
      Deprecated.
      Migrate to max()
    • mean

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

      @Deprecated default long getMean()
      Deprecated.
      Migrate to mean()
    • 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.