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);
[top] |
[top] |
Map map = CacheAccessFactory.getInstance().getMapAccess(); map.remove("ObjectToBeRemoved");
[top] |
[top] |
[top] |