Ehcache migration from 2.6 to 3.00
问题 I am trying to upgrade Ehcache for my Project from 2.6 to 3.0 version. Any replacement for net.sf.ehcache.Element and CacheExceptionHandler. Less documentation on Ehcache 3, Can anyone give some tips for upgrading Ehacahe to version 3. 回答1: Ehcache 3 is by design a major rework of the APIs so there are indeed large differences with Ehcache 2.x. net.sf.ehcache.Element has been completely removed, the org.ehcache.Cache API is now closer (but not identical) to a java.util.concurrent