com.github.doobo.annotation.DCache Maven / Gradle / Ivy
package com.github.doobo.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 删除缓存注解
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DCache{
/**
* 前缀后面会拼参数
*/
String prefix() default "";
/**
* 缓存key
*/
String key();
/**
* key值拼接符号
* @return
*/
String symbol() default ".";
/**
* #result == null || !#result.ok
* 判断结果返回
* @return
*/
String unless() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy