1.0.0.CR4 - “Santa Cruz”
New and Noteworthy
- New method:
Cache.computeIfAbsent
Potential breakages
Changes in semantics or API that may break existing applications are listed here. Modifications in the statistics output will not listed as breakage.
Fixes and Improvements
- Provide classes
AbstractCacheandForwardingCache
Using this cache2k version
For Java SE/EE environments
<dependency>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-api</artifactId>
<version>1.0.0.CR4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-all</artifactId>
<version>1.0.0.CR4</version>
<scope>runtime</scope>
</dependency>
For Android
<dependency>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-api</artifactId>
<version>1.0.0.CR4</version>
</dependency>
<dependency>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-core</artifactId>
<version>1.0.0.CR4</version>
<scope>runtime</scope>
</dependency>
Using the JCache / JSR107 provider
<dependency>
<groupId>org.cache2k</groupId>
<artifactId>cache2k-jcache</artifactId>
<version>1.0.0.CR4</version>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>1.0.0</version>
</dependency>