Class RetryAwareServiceInstanceListSupplier
java.lang.Object
org.springframework.cloud.loadbalancer.core.DelegatingServiceInstanceListSupplier
org.springframework.cloud.loadbalancer.core.RetryAwareServiceInstanceListSupplier
- All Implemented Interfaces:
Supplier<reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, SelectedInstanceCallback, ServiceInstanceListSupplier
A
ServiceInstanceListSupplier implementation that avoids picking the same
service instance while retrying requests.- Since:
- 3.0.0
- Author:
- Olga Maciaszek-Sharma
-
Field Summary
Fields inherited from class DelegatingServiceInstanceListSupplier
delegate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DelegatingServiceInstanceListSupplier
afterPropertiesSet, destroy, getDelegate, selectedServiceInstance
-
Constructor Details
-
RetryAwareServiceInstanceListSupplier
-
-
Method Details
-
getServiceId
- Specified by:
getServiceIdin interfaceServiceInstanceListSupplier- Overrides:
getServiceIdin classDelegatingServiceInstanceListSupplier
-
get
public reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>> get(org.springframework.cloud.client.loadbalancer.Request request) -
get
-