#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,11 +1,9 @@
package io.ebeaninternal.server.profile;
import io.ebean.ProfileLocation;
import io.ebean.meta.MetaTimedMetric;
import io.ebean.meta.MetricVisitor;
import io.ebeaninternal.metric.TimedMetric;
import java.util.List;
/**
* ProfileLocation that collects timing metrics.
*/
@@ -22,7 +20,7 @@ public interface TimedProfileLocation extends ProfileLocation {
TimedMetric getMetric();
/**
* Collect the metrics adding to the given list if the metrics are non empty.
* Visit the non empty metrics.
*/
void collect(boolean reset, List<MetaTimedMetric> list);
void visit(MetricVisitor visitor);
}