public static class LatencyAwarePolicy.Snapshot.Stats extends Object
LatencyAwarePolicy
.Modifier and Type | Method and Description |
---|---|
long |
getLatencyScore()
The latency score for the host this is the stats of at the time of the snapshot.
|
long |
getMeasurementsCount()
The number of recorded latency measurements for the host this is the stats of.
|
long |
lastUpdatedSince()
The number of nanoseconds since the last latency update was recorded (at the time of the
snapshot).
|
public long lastUpdatedSince()
public long getLatencyScore()
-1L
if not enough measurements have been taken to assign a score.public long getMeasurementsCount()
Copyright © 2012–2020. All rights reserved.