Class InstrumentedTimingCollector

  • All Implemented Interfaces:
    org.skife.jdbi.v2.TimingCollector

    public class InstrumentedTimingCollector
    extends Object
    implements org.skife.jdbi.v2.TimingCollector
    A TimingCollector implementation for JDBI which uses the SQL objects' class names and method names for millisecond-precision timers.
    • Method Detail

      • collect

        public void collect​(long elapsedTime,
                            org.skife.jdbi.v2.StatementContext ctx)
        Specified by:
        collect in interface org.skife.jdbi.v2.TimingCollector