Interface ReactiveLoadBalancer<T>

Type Parameters:
T - type of the response

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Default implementation of a request.
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.reactivestreams.Publisher<Response<T>>
     
    org.reactivestreams.Publisher<Response<T>>
    choose(Request request)
    Choose the next server based on the load balancing algorithm.
  • Field Details

  • Method Details

    • 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()