Merge branch '2.6.x' into 2.7.x

Closes gh-33257
pull/33648/head
Moritz Halbritter 2 years ago
commit b72b70f0ba

@ -123,17 +123,20 @@ An alternate configuration file can be provided as well, as shown in the followi
config: "classpath:config/another-config.xml" config: "classpath:config/another-config.xml"
---- ----
[[io.caching.provider.hazelcast]] [[io.caching.provider.hazelcast]]
==== Hazelcast ==== Hazelcast
Spring Boot has <<io#io.hazelcast,general support for Hazelcast>>.
If a `HazelcastInstance` has been auto-configured, it is automatically wrapped in a `CacheManager`.
Spring Boot has <<io#io.hazelcast,general support for Hazelcast>>.
If a `HazelcastInstance` has been auto-configured and `com.hazelcast:hazelcast-spring` is on the classpath, it is automatically wrapped in a `CacheManager`.
NOTE: Hazelcast can be used as a JCache compliant cache or as a Spring `CacheManager` compliant cache.
When setting configprop:spring.cache.type[] to `hazelcast`, Spring Boot will use the `CacheManager` based implementation.
If you want to use Hazelcast as a JCache compliant cache, set configprop:spring.cache.type[] to `jcache`.
If you have multiple JCache compliant cache providers and want to force the use of Hazelcast, you have to <<io#io.caching.provider.jcache,explicitly set the JCache provider>>.
[[io.caching.provider.infinispan]] [[io.caching.provider.infinispan]]
==== Infinispan ==== Infinispan
https://infinispan.org/[Infinispan] has no default configuration file location, so it must be specified explicitly. https://infinispan.org/[Infinispan] has no default configuration file location, so it must be specified explicitly.
Otherwise, the default bootstrap is used. Otherwise, the default bootstrap is used.

Loading…
Cancel
Save