|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.datastax.driver.core.policies.LatencyAwarePolicy.Snapshot.Stats
public static class LatencyAwarePolicy.Snapshot.Stats
A snapshot of the statistics on a given host kept by LatencyAwarePolicy
.
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public long lastUpdatedSince()
public long getLatencyScore()
-1L
if not enough measurements have been taken to assign a score.public long getMeasurementsCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |