Package com.skyline.common.cache.annotation

Examples of com.skyline.common.cache.annotation.Cache.expire()


      Class<? extends Annotation> annotationType = annotation.annotationType();
      if (annotationType.equals(Cache.class)) {
        Cache cache = (Cache) annotation;
        isCachable = true;
        keyPattern = cache.keyPattern();
        expire = cache.expire();
        isPagination = cache.pagination();
        categoryType = cache.type();
        isGenericCache = isCategoryTypeGeneric(categoryType);
      }
      if (annotationType.equals(CacheDelete.class)) { // 如categoryType等可能重复的数据以删除为准
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.