Skip to content

Commit e802f0e

Browse files
committed
Clarify use of Ehcache
Since we have a dedicated section regarding Ehcache that is only applicable to Ehcache 2.x, this commit clarifies that Ehcache 3.x is JSR-107 compliant and the JCache support should be used with it rather than attempting to configure the Ehcache 2.x support.
1 parent 0d59a15 commit e802f0e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/asciidoc/integration.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8050,10 +8050,10 @@ materialized by the `org.springframework.cache.Cache` and
80508050

80518051
There are <<cache-store-configuration,a few implementations>> of that abstraction
80528052
available out of the box: JDK `java.util.concurrent.ConcurrentMap` based caches,
8053-
http://ehcache.org/[EhCache], Gemfire cache,
8053+
http://ehcache.org/[Ehcache 2.x], Gemfire cache,
80548054
https://github.com/ben-manes/caffeine/wiki[Caffeine] and JSR-107 compliant
8055-
caches. See <<cache-plug>> for more information on plugging in other cache
8056-
stores/providers.
8055+
caches (e.g. Ehcache 3.x). See <<cache-plug>> for more information on plugging in
8056+
other cache stores/providers.
80578057

80588058
[IMPORTANT]
80598059
====
@@ -8963,9 +8963,11 @@ eviction contracts.
89638963

89648964

89658965
[[cache-store-configuration-ehcache]]
8966-
==== EhCache-based Cache
8966+
==== Ehcache-based Cache
89678967

8968-
The EhCache implementation is located under `org.springframework.cache.ehcache` package.
8968+
NOTE: Ehcache 3.x is fully JSR-107 compliant and no dedicated support is required for it.
8969+
8970+
The Ehcache 2.x implementation is located under `org.springframework.cache.ehcache` package.
89698971
Again, to use it, one simply needs to declare the appropriate `CacheManager`:
89708972

89718973
[source,xml,indent=0]

0 commit comments

Comments
 (0)