Class InstrumentedTimingCollector

  • All Implemented Interfaces:
    org.jdbi.v3.core.statement.TimingCollector

    @Deprecated
    public class InstrumentedTimingCollector
    extends Object
    implements org.jdbi.v3.core.statement.TimingCollector
    Deprecated.
    Use InstrumentedSqlLogger and Configurable.setSqlLogger(SqlLogger) instead.
    A TimingCollector implementation for JDBI which uses the SQL objects' class names and method names for millisecond-precision timers.
    • Constructor Detail

      • InstrumentedTimingCollector

        public InstrumentedTimingCollector​(MetricRegistry registry)
        Deprecated.
    • Method Detail

      • collect

        public void collect​(long elapsedTime,
                            org.jdbi.v3.core.statement.StatementContext ctx)
        Deprecated.
        Specified by:
        collect in interface org.jdbi.v3.core.statement.TimingCollector