myrandom=${cachedrandom.appname.value}
+diff --git a/reference/html/index.html b/reference/html/index.html index 133159a4..a5b5d43a 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -186,7 +186,8 @@ $(addBlockSwitches);
Spring Cloud Context provides a PropertySource that caches random values based on a key. Outside of the caching
+functionality it works the same as Spring Boot’s RandomValuePropertySource.
+This random value might be useful in the case where you want a random value that is consistent even after the Spring Application
+context restarts. The property value takes the form of cachedrandom.[yourkey].[type] where yourkey is the key in the cache. The type value can
+be any type supported by Spring Boot’s RandomValuePropertySource.
myrandom=${cachedrandom.appname.value}
+To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.
diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index 133159a4..a5b5d43a 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -186,7 +186,8 @@ $(addBlockSwitches);Spring Cloud Context provides a PropertySource that caches random values based on a key. Outside of the caching
+functionality it works the same as Spring Boot’s RandomValuePropertySource.
+This random value might be useful in the case where you want a random value that is consistent even after the Spring Application
+context restarts. The property value takes the form of cachedrandom.[yourkey].[type] where yourkey is the key in the cache. The type value can
+be any type supported by Spring Boot’s RandomValuePropertySource.
myrandom=${cachedrandom.appname.value}
+To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.