Package com.avaje.ebean.annotation

Examples of com.avaje.ebean.annotation.CacheTuning


    if (namedUpdate != null) {
      readNamedUpdate(namedUpdate);
    }

    CacheStrategy cacheStrategy = cls.getAnnotation(CacheStrategy.class);
    CacheTuning cacheTuning = cls.getAnnotation(CacheTuning.class);
    if (cacheStrategy != null || cacheTuning != null) {
      readCacheStrategy(cacheStrategy, cacheTuning);
    }

    EntityConcurrencyMode entityConcurrencyMode = cls.getAnnotation(EntityConcurrencyMode.class);
View Full Code Here


    if (useBeanTuning) {
      // read the deployment annotation
      try {
        Class<?> cls = Class.forName(beanType);
        CacheTuning cacheTuning = cls.getAnnotation(CacheTuning.class);
        if (cacheTuning != null) {
          ServerCacheOptions o = new ServerCacheOptions(cacheTuning);
          o.applyDefaults(defaultOptions);
          return o;
        }
View Full Code Here

TOP

Related Classes of com.avaje.ebean.annotation.CacheTuning

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.