diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index f120c9eb..7b4901df 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -27,6 +27,8 @@ |spring.cloud.inetutils.preferred-networks | | List of Java regular expressions for network addresses that will be preferred. |spring.cloud.inetutils.timeout-seconds | 1 | Timeout, in seconds, for calculating hostname. |spring.cloud.inetutils.use-only-site-local-interfaces | false | Whether to use only interfaces with site local addresses. See {@link InetAddress#isSiteLocalAddress()} for more details. +|spring.cloud.loadbalancer.cache.caffeine.spec | | The spec to use to create caches. See CaffeineSpec for more details on the spec format. +|spring.cloud.loadbalancer.cache.ttl | 30s | Time To Live - time counted from writing of the record, after which cache entries are expired, expressed as a {@link Duration}. The property {@link String} has to be in keeping with the appropriate syntax as specified in Spring Boot StringToDurationConverter. @see StringToDurationConverter.java |spring.cloud.loadbalancer.retry.enabled | true | |spring.cloud.loadbalancer.ribbon.enabled | true | Causes `RibbonLoadBalancerClient` to be used by default. |spring.cloud.refresh.enabled | true | Enables autoconfiguration for the refresh scope and associated features. diff --git a/spring-cloud-loadbalancer/.flattened-pom.xml b/spring-cloud-loadbalancer/.flattened-pom.xml index c9321dfe..41d4d6b9 100644 --- a/spring-cloud-loadbalancer/.flattened-pom.xml +++ b/spring-cloud-loadbalancer/.flattened-pom.xml @@ -155,5 +155,19 @@ compile true + + org.springframework.boot + spring-boot-starter-cache + 2.2.1.RELEASE + compile + true + + + com.github.ben-manes.caffeine + caffeine + 2.8.0 + compile + true +