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

com.nepxion.aquarius.cache.annotation.CachePut 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 CachePut { /** * 缓存名字 * @return String */ String name() default ""; /** * 缓存Key * @return String[] */ String[] key() default {}; /** * 过期时间 * 单位毫秒 * @return long */ long expire() default -1234567890L; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy