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.
Deprecated.
This class collects timing information for statement execution.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TimingCollector
Deprecated.UseSqlLogger.NOP_SQL_LOGGER
instead. -
Method Summary
-
Field Details
-
NOP_TIMING_COLLECTOR
Deprecated.UseSqlLogger.NOP_SQL_LOGGER
instead.GNDN.
-
-
Method Details
-
collect
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
-
SqlLogger
instead.