io.ebeaninternal.server.profile.DQueryPlanCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.profile;
import io.ebean.meta.MetaQueryMetric;
import io.ebeaninternal.metric.QueryPlanCollector;
import java.util.ArrayList;
import java.util.List;
class DQueryPlanCollector implements QueryPlanCollector {
private final boolean reset;
private final List list = new ArrayList<>();
DQueryPlanCollector(boolean reset) {
this.reset = reset;
}
@Override
public boolean isReset() {
return reset;
}
@Override
public void add(MetaQueryMetric stats) {
list.add(stats);
}
@Override
public List complete() {
return list;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy