com.feingto.cloud.config.redis.RedisCacheEvict Maven / Gradle / Ivy
package com.feingto.cloud.config.redis;
import java.lang.annotation.*;
/**
* 针对方法配置,能够根据一定的条件对缓存进行清空
*
* @author longfei
*/
@Documented
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCacheEvict {
String cacheName() default "";
/**
* 缓存Key,支持EL表达式
*/
String key();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy