Interface ReactiveLoadBalancer<T>

  • Type Parameters:
    T - type of the response

    public interface ReactiveLoadBalancer<T>
    Reactive load balancer.
    Author:
    Spencer Gibb, Olga Maciaszek-Sharma
    • Method Detail

      • choose

        org.reactivestreams.Publisher<Response<T>> choose​(Request request)
        Choose the next server based on the load balancing algorithm.
        Parameters:
        request - - incoming request
        Returns:
        publisher for the response
      • choose

        default org.reactivestreams.Publisher<Response<T>> choose()