public class FixedLoadBalancer extends Object implements LoadBalancer
LoadBalancer that resolves a fixed URL.| Constructor and Description | 
|---|
| FixedLoadBalancer(URL url)Constructs a new FixedLoadBalancer. | 
| Modifier and Type | Method and Description | 
|---|---|
| URL | getUrl() | 
| Publisher<ServiceInstance> | select(Object discriminator) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, fixed, selectpublic FixedLoadBalancer(URL url)
url - The URL to fix topublic Publisher<ServiceInstance> select(@Nullable Object discriminator)
select in interface LoadBalancerdiscriminator - An object used to discriminate the server to select. Usually the service IDServiceInstancepublic URL getUrl()
LoadBalancer