{{ message }}
Commit 13ac176
committed
JAVA-1682: Provide a way to record latencies for cancelled speculative executions
Those latencies are emitted with a
CancelledSpeculativeExecutionException, which allows LatencyTracker
implementations to choose whether to include them or not. For example, a
tracker that wants to detect "slowness" of a node might want to record
them (otherwise a node that always hits the speculative execution
threshold would appear to have no measurement), whereas a tracker that
monitors latencies of successful executions should ignore them.1 parent 58af03b commit 13ac176
4 files changed
Lines changed: 41 additions & 1 deletion
File tree
- changelog
- driver-core/src/main/java/com/datastax/driver/core
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| |||
Lines changed: 9 additions & 0 deletions

0 commit comments