public class ServiceInstanceListRoundRobinLoadBalancer extends AbstractRoundRobinLoadBalancer
index| Constructor and Description |
|---|
ServiceInstanceListRoundRobinLoadBalancer(ServiceInstanceList serviceInstanceList) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getContextPath() |
java.lang.String |
getServiceID() |
org.reactivestreams.Publisher<ServiceInstance> |
select(java.lang.Object discriminator) |
getNextAvailableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, fixed, selectpublic ServiceInstanceListRoundRobinLoadBalancer(ServiceInstanceList serviceInstanceList)
serviceInstanceList - The service instance listpublic org.reactivestreams.Publisher<ServiceInstance> select(@Nullable java.lang.Object discriminator)
discriminator - An object used to discriminate the server to select. Usually the service IDServiceInstancepublic java.lang.String getServiceID()
getServiceID in class AbstractRoundRobinLoadBalancerpublic java.util.Optional<java.lang.String> getContextPath()