Package org.jdbi.v3.core.statement
Interface TimingCollector
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @Deprecated public interface TimingCollectorDeprecated.UseSqlLoggerinstead.This class collects timing information for statement execution.
-
-
Field Summary
Fields Modifier and Type Field Description static TimingCollectorNOP_TIMING_COLLECTORDeprecated.UseSqlLogger.NOP_SQL_LOGGERinstead.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcollect(long elapsedNs, StatementContext ctx)Deprecated.
-
-
-
Field Detail
-
NOP_TIMING_COLLECTOR
@Deprecated static final TimingCollector NOP_TIMING_COLLECTOR
Deprecated.UseSqlLogger.NOP_SQL_LOGGERinstead.GNDN.
-
-
Method Detail
-
collect
@Deprecated void collect(long elapsedNs, StatementContext ctx)Deprecated.Called after a statement completes with how long it took to execute.- Parameters:
elapsedNs- the elapsed time in nanoseconds.ctx- the context of the just completed statement
-
-