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

io.ebeaninternal.metric.QueryPlanCollector Maven / Gradle / Ivy

There is a newer version: 15.6.0
Show newest version
package io.ebeaninternal.metric;

import io.ebean.meta.MetaQueryMetric;

import java.util.List;

/**
 * Object used to collect query plan metrics.
 */
public interface QueryPlanCollector {

  /**
   * Return true if the statistics should be reset.
   */
  boolean isReset();

  /**
   * Add the query plan statistic.
   */
  void add(MetaQueryMetric stats);

  /**
   * Return all the collected query plan statistics.
   */
  List complete();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy