#1027 - ENH: Add a Slow query event listener ... to log or listen to queries that exceed some defined execution time

This commit is contained in:
Rob Bygrave
2017-10-03 15:04:30 +13:00
parent 721654d033
commit 8301cb634e
15 changed files with 224 additions and 26 deletions
@@ -799,4 +799,9 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
public void insertAll(Collection<?> beans, Transaction transaction) {
}
@Override
public void slowQueryCheck(long executionTimeMicros, int rowCount, SpiQuery<?> query) {
}
}