Commits
Tarun Sukhani authored e5afcff720a
feat(cache): deprecated 1.x Cache compatibility facade + retired cache-key boot WARN (PF-133)
Add play.cache.LegacyCache, a deprecated static facade restoring the 1.x
Cache API (set/get/get-typed/delete/safeSet/safeDelete/clear) on top of the
typed Caches.named registry. Per-TTL backing caches mirror @CacheFor and
#{cache}; add/replace/incr/decr throw UnsupportedOperationException since the
typed contract has no faithful atomic mapping. Durations parse via
play.libs.Time.parseDuration.
Generalize Play.java's retired-key boot WARN (recordRetiredThreadingKeys ->
recordRetiredKeys, retiredThreadingKeys -> retiredConfigKeys) so retired
memcached/memcached.* cache keys also warn, with a cache-specific message.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
(cherry picked from commit 8b7e8beac7b4ccade77c0a0bcef8cdebea52eaa8)