java.lang.Object | |
↳ | com.netflix.astyanax.shallows.EmptyLatencyScoreStrategyImpl |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
instance |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance to associate with an endpoint
| |||||||||||
Remove the instance for an endpoint that is no longer being tracked
| |||||||||||
Reset all instance scores
| |||||||||||
Shutdown the threads created by calling start()
| |||||||||||
Sorts and filters a list of hosts by looking at their up state and score.
| |||||||||||
Start updating stats for instances created using createInstance.
| |||||||||||
Update all instance scores
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.connectionpool.LatencyScoreStrategy
|
Create a new instance to associate with an endpoint
Remove the instance for an endpoint that is no longer being tracked
Reset all instance scores
Shutdown the threads created by calling start()
Sorts and filters a list of hosts by looking at their up state and score.
prioritized | - Will be set to true if the filtered data is prioritized or not. If prioritized then the first element should be selected from by the load balancing strategy. Otherwise round robin could be used. |
---|
Start updating stats for instances created using createInstance. This usually spawns an update thread as well as a reset thread operating at configurable intervals
Update all instance scores