cn.jiangzeyin.cache.CacheConfigWildcardField Maven / Gradle / Ivy
The newest version!
package cn.jiangzeyin.cache;
import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;
/**
* Created by jiangzeyin on 2017/12/13.
*/
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CacheConfigWildcardField {
int value();
long time() default ObjectCache.DEFAULT_CACHE_TIME;
TimeUnit UNIT() default TimeUnit.SECONDS;
}