public class ZonePreferenceServiceInstanceListSupplier extends DelegatingServiceInstanceListSupplier
ServiceInstanceListSupplier that filters instances
retrieved by the delegate by zone. The zone is retrieved from the
spring.cloud.loadbalancer.zone property. If the zone is not set or no
instances are found for the requested zone, all instances retrieved by the delegate are
returned.delegate| Constructor and Description |
|---|
ZonePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate,
LoadBalancerZoneConfig zoneConfig) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<List<ServiceInstance>> |
get() |
afterPropertiesSet, destroy, getDelegate, getServiceIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, getpublic ZonePreferenceServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerZoneConfig zoneConfig)
public reactor.core.publisher.Flux<List<ServiceInstance>> get()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.