com.cudoy.framework.cache.annotation.RsCache Maven / Gradle / Ivy
The newest version!
package com.cudoy.framework.cache.annotation;
import com.cudoy.framework.cache.support.CacheType;
import org.springframework.core.annotation.AliasFor;
import java.lang.annotation.*;
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RsCache {
String name() default "";
CacheType type() default CacheType.DEFAULT;
@AliasFor("value")
String namespace() default "";
@AliasFor("namespace")
String value() default "";
String cacheName() default "myCache";
}