public class CachingServiceInstanceListSupplier extends DelegatingServiceInstanceListSupplier
ServiceInstanceListSupplier implementation that tries retrieving
ServiceInstance objects from cache; if none found, retrieves instances using
DiscoveryClientServiceInstanceListSupplier.| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_INSTANCE_CACHE_NAME
Name of the service cache instance.
|
delegate| Constructor and Description |
|---|
CachingServiceInstanceListSupplier(ServiceInstanceListSupplier delegate,
org.springframework.cache.CacheManager cacheManager) |
| 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 static final String SERVICE_INSTANCE_CACHE_NAME
public CachingServiceInstanceListSupplier(ServiceInstanceListSupplier delegate, org.springframework.cache.CacheManager cacheManager)
public reactor.core.publisher.Flux<List<ServiceInstance>> get()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.