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

grails.plugins.redis.ast.MemoizeHashASTTransformation.groovy Maven / Gradle / Ivy

Go to download

This Plugin provides access to Redis and various utilities(service, annotations, etc) for caching.

There is a newer version: 5.0.0-M3
Show newest version
package grails.plugins.redis.ast

import org.codehaus.groovy.ast.expr.ConstantExpression
import org.codehaus.groovy.control.CompilePhase
import org.codehaus.groovy.transform.GroovyASTTransformation

@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
class MemoizeHashASTTransformation extends MemoizeASTTransformation {

    @Override
    protected ConstantExpression makeRedisServiceConstantExpression() {
        new ConstantExpression('memoizeHash')
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy