Refactor for query plan capture with initial threshold micros - part 2

This commit is contained in:
rob bygrave
2019-12-24 00:29:46 +13:00
parent 6fcac27dfe
commit 8a263d243c
25 changed files with 431 additions and 227 deletions
@@ -1,5 +1,10 @@
package io.ebeaninternal.api;
import io.ebean.meta.MetaQueryPlan;
import io.ebean.meta.QueryPlanRequest;
import java.util.List;
/**
* Manage query plan capture.
*/
@@ -11,4 +16,9 @@ public interface QueryPlanManager {
* Create the bind capture for the given query plan.
*/
SpiQueryBindCapture createBindCapture(SpiQueryPlan queryPlan);
/**
* Collect the database query plans.
*/
List<MetaQueryPlan> collect(QueryPlanRequest request);
}