All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.meta.MetaTimedMetric Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
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.
   * 

* This can be used to suppress including the SQL and location from metrics * content. *

*/ boolean initialCollection(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy