public interface TimingCollector
Modifier and Type | Interface and Description |
---|---|
static class |
TimingCollector.NopTimingCollector |
Modifier and Type | Field and Description |
---|---|
static TimingCollector |
NOP_TIMING_COLLECTOR
A No Operation Timing Collector.
|
Modifier and Type | Method and Description |
---|---|
void |
collect(long elapsedTime,
StatementContext ctx)
This method is executed every time there is information to collect.
|
static final TimingCollector NOP_TIMING_COLLECTOR
void collect(long elapsedTime, StatementContext ctx)
ctx
- The Statement Context, which contains additional information about the
statement that just ran.elapsedTime
- The elapsed time in nanoseconds.Copyright © 2018. All rights reserved.