ehCache out of its Element
summary
Ehcache 3 removes the old removal of Element and exposes a fluent, immutable builder API with a CacheManager and typed Cache<K,V> that requires runtime key/value classes for safety. Code example shows cache‑aside get/put, TTL via a customizable expiry for creation/access/update, and eviction when heap size is limited (two heap entries push out the third). It demonstrates scaling to heap + off-heap tiers with serializers for off‑heap, and equivalent XML + JSR-107 integration that lets Spring Boot wire caching without custom code.
AI-written summary · about
chapters (5)
- 0:00Start
- 9:41Add an Expiration Duration
- 18:50Create the Cache Manager from an Xml Configuration
- 26:35Scenario Two
- 27:31Cash Template
related talks
01h 31mBringing javax.cache'ing to your application
50mCaching with Spring: Advanced Topics and Best Practices
46mOn-heap cache vs Off-heap cache w Javie
19mCaching with Cache2K
13mSay Goodbye to Off-heap Caches! On-heap Caches Using Memory-Mapped I/O
01h 02mJava Caching with JSR107 and tCache
44mHow to speed up your application using JCache
45mCaching in Applications Still Matters
