Module io.ebean.api
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.
    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

    name
  • Method Details

    • location

      String location()
      Return the metric location if defined.
    • count

      long count()
      Return the total count.
    • total

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

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

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