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
@@ -0,0 +1,15 @@
package io.ebeaninternal.api;
import io.ebean.meta.MetaQueryPlan;
/**
* Internal database query plan being capture.
*/
public interface SpiDbQueryPlan extends MetaQueryPlan {
/**
* Extend with queryTimeMicros and captureCount.
*/
SpiDbQueryPlan with(long queryTimeMicros, long captureCount);
}