Ehcache 3.4.0
Clustering improvements and the future of Ehcache
With this release, you get a vastly improved Terracotta server, which is the main reason why we had to raise the minor. Clustered Ehcache 3.3.x and 3.4.y are not compatible. we highly recommend to upgrade to benefit from the latest and greatest.
This line will also most likely be the last one with Java 6 support. Our current plan is to move to Java 8 and above for the upcoming Ehcache 3.5.0. Stay tuned for more information on this.
This release of Ehcache offers the following:
- Fixed the too strict regex in cluster connection that prevented proper use of HA setups,
- Fixed an expiry issue when having local caching tiers on top of a clustered tier,
- Some specific bug fixes and all the 3.3.2 and 3.2.3 fixes.
Getting started
Ehcache 3.4.0 has been released to maven central under the following coordinates:
Main module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>3.4.0</version>
</dependency>
Transactions module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache-transactions</artifactId>
<version>3.4.0</version>
</dependency>
Clustering module
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache-clustered</artifactId>
<version>3.4.0</version>
</dependency>
Or can be downloaded below.
Note that if you download Ehcache jar you will need one additional jar in your classpath:
Clustering kit
For clustering a kit is also provided that includes the Terracotta Server component. See below.