Module io.ebean.api
Package io.ebean.meta

Interface MetaTimedMetric

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long count()
      Return the total count.
      boolean initialCollection()
      Return true if this is the first metrics collection for this query.
      String location()
      Return the metric location if defined.
      long max()
      Return the max execution time in micros.
      long mean()
      Return the mean execution time in micros.
      long total()
      Return the total execution time in micros.
    • Method Detail

      • 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.