Fork me on GitHub

cache2k version 0.19 release notes

New and Noteworthy

  • JMX: enabled and metrics described
  • JSR107 style bulk get: Cache.getAll(), (not sure I like it…)
  • prefetch functionality, substitute for getAll()
  • removeAllAtOnce() to support database transactions

Fixes and Improvements

  • CacheManager.destroy(): Stop threads and wait until pending background refreshes are finished.
  • CacheManager: name disambiguation and warning, if duplicate cache names occur.
  • Cache core: bulk get code fixed, counters corrected
  • Cache core: div. cleanups

API Changes

  • New: Cache.prefech(key), Cache.prefech(keys), Cache.prefech(keys, startIdx, endIdx)
  • New: Cache.removeAllAtOnce()
  • New: Cache.getAll()
  • Rename: CacheInfoMXBean.getHealth() -> getAlert()