public class InstrumentedTimingCollector extends Object implements org.skife.jdbi.v2.TimingCollector
TimingCollector implementation for JDBI which uses the SQL objects' class names and
method names for millisecond-precision timers.| Constructor and Description |
|---|
InstrumentedTimingCollector(io.dropwizard.metrics5.MetricRegistry registry) |
InstrumentedTimingCollector(io.dropwizard.metrics5.MetricRegistry registry,
StatementNameStrategy statementNameStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(long elapsedTime,
org.skife.jdbi.v2.StatementContext ctx) |
public InstrumentedTimingCollector(io.dropwizard.metrics5.MetricRegistry registry)
public InstrumentedTimingCollector(io.dropwizard.metrics5.MetricRegistry registry,
StatementNameStrategy statementNameStrategy)
Copyright © 2018. All Rights Reserved.