| Package | Description |
|---|---|
| net.ttddyy.dsproxy.listener | |
| net.ttddyy.dsproxy.proxy |
| Modifier and Type | Field and Description |
|---|---|
protected Stopwatch |
SlowQueryListener.RunningQueryContext.stopwatch |
| Constructor and Description |
|---|
RunningQueryContext(ExecutionInfo executionInfo,
List<QueryInfo> queryInfoList,
long nowInMills,
Stopwatch stopwatch) |
| Modifier and Type | Class and Description |
|---|---|
static class |
NanoTimeStopwatchFactory.NanoTimeStopwatch
Stopwatch implementation that uses System.nanoTime(). |
static class |
SystemStopwatchFactory.SystemStopwatch
Uses
System.currentTimeMillis() to calculate elapsed time. |
| Modifier and Type | Method and Description |
|---|---|
Stopwatch |
StopwatchFactory.create() |
Stopwatch |
NanoTimeStopwatchFactory.create() |
Stopwatch |
SystemStopwatchFactory.create() |
Stopwatch |
NanoTimeStopwatchFactory.NanoTimeStopwatch.start() |
Stopwatch |
SystemStopwatchFactory.SystemStopwatch.start() |
Stopwatch |
Stopwatch.start()
Start the stopwatch.
|
Copyright © 2020. All rights reserved.