Interface ScoreSupplier

All Known Subinterfaces:
FilterableStreamingHttpLoadBalancedConnection, LoadBalancedAddress<C>, LoadBalancedConnection
All Known Implementing Classes:
DelegatingFilterableStreamingHttpLoadBalancedConnection, HttpLoadBalancerFactory.DefaultFilterableStreamingHttpLoadBalancedConnection

public interface ScoreSupplier
Enables components to expose a score.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the current score of a resource.
  • Method Details

    • score

      int score()
      Returns the current score of a resource. LoadBalancers prefer resources with a higher score.
      Returns:
      the score