mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user