
grails.plugins.redis.MemoizeDomainObject.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grails-redis Show documentation
Show all versions of grails-redis Show documentation
This Plugin provides access to Redis and various utilities(service, annotations, etc) for caching.
package grails.plugins.redis
import java.lang.annotation.ElementType
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy
import java.lang.annotation.Target
import org.codehaus.groovy.transform.GroovyASTTransformationClass
/**
*/
@Retention(RetentionPolicy.SOURCE)
@Target([ElementType.METHOD])
@GroovyASTTransformationClass(['grails.plugins.redis.ast.MemoizeDomainObjectASTTransformation'])
@interface MemoizeDomainObject {
Class clazz() default {};
String key() default '';
String expire() default '';
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy