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, getServiceId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, get
public 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.