I'm in the process of upgrading JavaLite ActiveJDBC from EHCache 2.x to v 3.x. It looks APIs changed dramatically, and I can find equivalents of what I need in v 3.x, except for one: How to clear all caches? For example, in v2.x, I could do this:
net.sf.ehcache.CacheManager cacheManager = net.sf.ehcache.CacheManager.create();
//... code
cacheManager.removalAll();
How can I do this in EHCache 3?