You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/io/caching.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Otherwise, the method is invoked, and the cache is updated before returning the
22
22
CAUTION: You can also use the standard JSR-107 (JCache) annotations (such as `@CacheResult`) transparently.
23
23
However, we strongly advise you to not mix and match the Spring Cache and JCache annotations.
24
24
25
-
If you do not add any specific cache library, Spring Boot auto-configures a <<io.caching.provider.simple,simple provider>> that uses concurrent maps in memory.
25
+
If you do not add any specific cache library, Spring Boot auto-configures a <<io#io.caching.provider.simple,simple provider>> that uses concurrent maps in memory.
26
26
When a cache is required (such as `piDecimals` in the preceding example), this provider creates it for you.
27
27
The simple provider is not really recommended for production usage, but it is great for getting started and making sure that you understand the features.
28
28
When you have made up your mind about the cache provider to use, please make sure to read its documentation to figure out how to configure the caches that your application uses.
@@ -39,18 +39,18 @@ The cache abstraction does not provide an actual store and relies on abstraction
39
39
40
40
If you have not defined a bean of type `CacheManager` or a `CacheResolver` named `cacheResolver` (see {spring-framework-api}/cache/annotation/CachingConfigurer.html[`CachingConfigurer`]), Spring Boot tries to detect the following providers (in the indicated order):
41
41
42
-
. <<io.caching.provider.generic,Generic>>
43
-
. <<io.caching.provider.jcache,JCache (JSR-107)>> (EhCache 3, Hazelcast, Infinispan, and others)
44
-
. <<io.caching.provider.ehcache2,EhCache 2.x>>
45
-
. <<io.caching.provider.hazelcast,Hazelcast>>
46
-
. <<io.caching.provider.infinispan,Infinispan>>
47
-
. <<io.caching.provider.couchbase,Couchbase>>
48
-
. <<io.caching.provider.redis,Redis>>
49
-
. <<io.caching.provider.caffeine,Caffeine>>
50
-
. <<io.caching.provider.simple,Simple>>
42
+
. <<io#io.caching.provider.generic,Generic>>
43
+
. <<io#io.caching.provider.jcache,JCache (JSR-107)>> (EhCache 3, Hazelcast, Infinispan, and others)
As described earlier in the <<using-spring-boot-restart-vs-reload>> section, restart functionality is implemented by using two classloaders.
215
+
As described earlier in the <<using#using.devtools.restart.restart-vs-reload>> section, restart functionality is implemented by using two classloaders.
216
216
For most applications, this approach works well.
217
217
However, it can sometimes cause classloading issues.
0 commit comments