Package io.servicetalk.client.api
Interface ScoreSupplier
-
- All Known Subinterfaces:
FilterableStreamingHttpLoadBalancedConnection,LoadBalancedAddress<C>,LoadBalancedConnection
public interface ScoreSupplierEnables components to expose a score.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intscore()Returns the current score of a resource.
-
-
-
Method Detail
-
score
int score()
Returns the current score of a resource.LoadBalancers prefer resources with a higher score.- Returns:
- the score
-
-