
cn.jiangzeyin.cache.CacheConfigWildcardField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-redis Show documentation
Show all versions of common-redis Show documentation
封装SpringBoot的Redis 管理和J2Cache
The newest version!
package cn.jiangzeyin.cache;
import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;
/**
* 缓存静态字段配置注解
*
* @author jiangzeyin
* @date 2017/12/13
* @see RedisCacheConfig#loadClass(java.lang.Class)
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CacheConfigWildcardField {
int value();
long time() default ObjectCache.DEFAULT_CACHE_TIME;
TimeUnit UNIT() default TimeUnit.SECONDS;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy