Class HintBasedServiceInstanceListSupplier
- java.lang.Object
-
- org.springframework.cloud.loadbalancer.core.DelegatingServiceInstanceListSupplier
-
- org.springframework.cloud.loadbalancer.core.HintBasedServiceInstanceListSupplier
-
- All Implemented Interfaces:
Supplier<reactor.core.publisher.Flux<List<ServiceInstance>>>,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,ServiceInstanceListSupplier
public class HintBasedServiceInstanceListSupplier extends DelegatingServiceInstanceListSupplier
AServiceInstanceListSupplierimplementation that uses hints to filter service instances provided by the delegate.- Since:
- 3.0.2
- Author:
- Olga Maciaszek-Sharma
-
-
Field Summary
-
Fields inherited from class org.springframework.cloud.loadbalancer.core.DelegatingServiceInstanceListSupplier
delegate
-
-
Constructor Summary
Constructors Constructor Description HintBasedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerProperties properties)Deprecated.HintBasedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, ReactiveLoadBalancer.Factory<ServiceInstance> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<List<ServiceInstance>>get()reactor.core.publisher.Flux<List<ServiceInstance>>get(Request request)-
Methods inherited from class org.springframework.cloud.loadbalancer.core.DelegatingServiceInstanceListSupplier
afterPropertiesSet, destroy, getDelegate, getServiceId
-
-
-
-
Constructor Detail
-
HintBasedServiceInstanceListSupplier
@Deprecated public HintBasedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, LoadBalancerProperties properties)
Deprecated.
-
HintBasedServiceInstanceListSupplier
public HintBasedServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, ReactiveLoadBalancer.Factory<ServiceInstance> factory)
-
-
Method Detail
-
get
public reactor.core.publisher.Flux<List<ServiceInstance>> get()
-
get
public reactor.core.publisher.Flux<List<ServiceInstance>> get(Request request)
-
-