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
ReactiveLoadBalancer.Factory<T>
-
Field Summary
Fields Modifier and Type Field Description static Request<DefaultRequestContext>
REQUEST
Default implementation of a request.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.reactivestreams.Publisher<Response<T>>
choose()
org.reactivestreams.Publisher<Response<T>>
choose(Request request)
Choose the next server based on the load balancing algorithm.
-
-
-
Field Detail
-
REQUEST
static final Request<DefaultRequestContext> REQUEST
Default implementation of a request.
-
-