T
- - type of the responsepublic interface ReactorLoadBalancer<T> extends ReactiveLoadBalancer<T>
ReactiveLoadBalancer
.ReactiveLoadBalancer.Factory<T>
REQUEST
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<Response<T>> |
choose() |
reactor.core.publisher.Mono<Response<T>> |
choose(Request request)
Choose the next server based on the load balancing algorithm.
|
reactor.core.publisher.Mono<Response<T>> choose(Request request)
choose
in interface ReactiveLoadBalancer<T>
request
- - an input requestdefault reactor.core.publisher.Mono<Response<T>> choose()
choose
in interface ReactiveLoadBalancer<T>
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.