~/talk

ehCache out of its Element

Talkat Devoxx US 2017 · 2017-03-21..03-23· [java, databases]
slides:none on file

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

  1. 0:00Start
  2. 9:41Add an Expiration Duration
  3. 18:50Create the Cache Manager from an Xml Configuration
  4. 26:35Scenario Two
  5. 27:31Cash Template
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.