com.netflix.astyanax.connectionpool.LatencyScoreStrategy.Instance |
Known Indirect Subclasses |
Single instance of this strategy associated with an endpoint
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a single latency sample
| |||||||||||
Get the mean for the sample window
| |||||||||||
Get the cached score for this endpoint
| |||||||||||
Reset the score and any internal stats
| |||||||||||
Update the score
|
Add a single latency sample
Get the mean for the sample window
Get the cached score for this endpoint
Reset the score and any internal stats
Update the score