interface GrailsCacheKeyGenerator
Generates a cache key for the given arguments
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract java.io.Serializable |
generate(java.lang.String className, java.lang.String methodName, int objHashCode, groovy.lang.Closure keyGenerator)
|
|
abstract java.io.Serializable |
generate(java.lang.String className, java.lang.String methodName, int objHashCode, java.util.Map methodParams)
|
className - The name of the classmethodName - The name of the objectobjHashCode - The hash code of the instancekeyGenerator - A closure that generates the key
className - The name of the classmethodName - The name of the objectobjHashCode - The hash code of the instancemethodParams - The parameters to the method as a map of parameter name to value