All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nepxion.aquarius.cache.annotation.CacheEvict Maven / Gradle / Ivy

Go to download

Nepxion Aquarius is a list of distribution components based on Redis + Zookeeper with Nepxion Matrix AOP framework

There is a newer version: 2.0.13
Show newest version
package com.nepxion.aquarius.cache.annotation;

/**
 * 

Title: Nepxion Aquarius

*

Description: Nepxion Aquarius

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Inherited @Documented public @interface CacheEvict { /** * 缓存名字 * @return String */ String name() default ""; /** * 缓存Key * @return String[] */ String[] key() default {}; /** * 是否全部清除缓存内容 * @return boolean */ boolean allEntries() default false; /** * 缓存清理是在方法调用前还是调用后 * @return boolean */ boolean beforeInvocation() default false; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy