Package com.scooterframework.cache

Examples of com.scooterframework.cache.CacheProvider


 
  public Cache getCache() {
    if (modelCache != null) return modelCache;
   
    if (useSecondLevelCache) {
      CacheProvider dcp = CacheProviderUtil.getDefaultCacheProvider();
      if (dcp != null) {
        modelCache = dcp.getCache(clazz.getName());
      }
    }
    else if (useRequestCache) {
      modelCache = new NamedCurrentThreadCache(clazz.getName());
    }
View Full Code Here

TOP

Related Classes of com.scooterframework.cache.CacheProvider

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.