Configuration
FKache Usage
Problems
There are some different possibilities:
CacheAccessFactory factory =
CacheAccessFactory.getInstance(); this.cache =
factory.getCache(false);
cache.open("path-to-jcache.properties"); //default CacheAttributes are distributed. CacheAttributes catt = CacheAttributes.getDefaultCacheAttributes(); CacheAccessFactory factory = CacheAccessFactory.getInstance(); this.cache = factory.getCache(false); cache.init(catt);
Map map = CacheAccessFactory.getInstance().getMapAccess();
map.remove("ObjectToBeRemoved");