Class DelegatingServiceInstanceListSupplier
- java.lang.Object
-
- org.springframework.cloud.loadbalancer.core.DelegatingServiceInstanceListSupplier
-
- All Implemented Interfaces:
Supplier<reactor.core.publisher.Flux<List<ServiceInstance>>>,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,ServiceInstanceListSupplier
- Direct Known Subclasses:
CachingServiceInstanceListSupplier,HealthCheckServiceInstanceListSupplier,HintBasedServiceInstanceListSupplier,RequestBasedStickySessionServiceInstanceListSupplier,RetryAwareServiceInstanceListSupplier,SameInstancePreferenceServiceInstanceListSupplier,ZonePreferenceServiceInstanceListSupplier
public abstract class DelegatingServiceInstanceListSupplier extends Object implements ServiceInstanceListSupplier, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Represents aServiceInstanceListSupplierthat uses a delegateServiceInstanceListSupplierinstance underneath.- Author:
- Spencer Gibb, Olga Maciaszek-Sharma
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceInstanceListSupplierdelegate
-
Constructor Summary
Constructors Constructor Description DelegatingServiceInstanceListSupplier(ServiceInstanceListSupplier delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()ServiceInstanceListSuppliergetDelegate()StringgetServiceId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier
get
-
-
-
-
Field Detail
-
delegate
protected final ServiceInstanceListSupplier delegate
-
-
Constructor Detail
-
DelegatingServiceInstanceListSupplier
public DelegatingServiceInstanceListSupplier(ServiceInstanceListSupplier delegate)
-
-
Method Detail
-
getDelegate
public ServiceInstanceListSupplier getDelegate()
-
getServiceId
public String getServiceId()
- Specified by:
getServiceIdin interfaceServiceInstanceListSupplier
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
-