Package com.codahale.metrics.jdbi3
Class InstrumentedTimingCollector
- java.lang.Object
-
- com.codahale.metrics.jdbi3.InstrumentedTimingCollector
-
- All Implemented Interfaces:
org.jdbi.v3.core.statement.TimingCollector
@Deprecated public class InstrumentedTimingCollector extends Object implements org.jdbi.v3.core.statement.TimingCollector
Deprecated.UseInstrumentedSqlLogger
andConfigurable.setSqlLogger(SqlLogger)
instead.ATimingCollector
implementation for JDBI which uses the SQL objects' class names and method names for millisecond-precision timers.
-
-
Constructor Summary
Constructors Constructor Description InstrumentedTimingCollector(MetricRegistry registry)
Deprecated.InstrumentedTimingCollector(MetricRegistry registry, StatementNameStrategy statementNameStrategy)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
collect(long elapsedTime, org.jdbi.v3.core.statement.StatementContext ctx)
Deprecated.
-
-
-
Constructor Detail
-
InstrumentedTimingCollector
public InstrumentedTimingCollector(MetricRegistry registry)
Deprecated.
-
InstrumentedTimingCollector
public InstrumentedTimingCollector(MetricRegistry registry, StatementNameStrategy statementNameStrategy)
Deprecated.
-
-