Package org.geomajas.plugin.caching.service

Examples of org.geomajas.plugin.caching.service.CacheService


  }

  private Map<CacheCategory, CacheService> createCaches(CacheInfo cacheInfo) {
    Map<CacheCategory, CacheService> ciCaches = new HashMap<CacheCategory, CacheService>();
    for (Map.Entry<CacheCategory, InfinispanConfiguration> entry : cacheInfo.getConfiguration().entrySet()) {
      CacheService cacheService;
      CacheCategory category = entry.getKey();
      InfinispanConfiguration config = entry.getValue();
      if (config.isCacheEnabled()) {
        String configurationName = config.getConfigurationName();
        if (null == configurationName) {
View Full Code Here


    return ciCaches;
  }

  public CacheService create(Layer layer, CacheCategory category) {
    CacheSelector cacheSelector = new CacheSelector(category, layer);
    CacheService cacheService;
    cacheService = caches.get(cacheSelector);
    if (null == cacheService) {
      cacheSelector = new CacheSelector(category, null);
      cacheService = caches.get(cacheSelector);
    }
View Full Code Here

TOP

Related Classes of org.geomajas.plugin.caching.service.CacheService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.