interface GrailsCacheKeyGenerator
Generates a cache key for the given arguments
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Serializable |
generate(String className, String methodName, int objHashCode, Closure keyGenerator)
|
|
abstract Serializable |
generate(String className, String methodName, int objHashCode, 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