#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.

This commit is contained in:
Rob Bygrave
2018-03-10 02:51:51 +13:00
parent eda6350d89
commit 85bfe3d03e
79 changed files with 928 additions and 466 deletions
@@ -1,6 +1,6 @@
package io.ebeaninternal.server.dto;
import io.ebeaninternal.metric.QueryPlanCollector;
import io.ebean.meta.MetricVisitor;
import io.ebeaninternal.server.type.DataReader;
import java.sql.SQLException;
@@ -21,7 +21,7 @@ public interface DtoQueryPlan {
void collect(long exeMicros, int rows);
/**
* Collect the query plan statistics.
* Visit the metric (if not empty).
*/
void collectStats(QueryPlanCollector collector);
void visit(MetricVisitor visitor);
}