val key: String
Spring Expression Language (SpEL) expression for computing the key dynamically.
Default is "", meaning all method parameters are considered as a key, unless a custom #keyGenerator has been set.
The SpEL expression evaluates against a dedicated context that provides the following meta-data:
#result for a reference to the result of the method invocation. For supported wrappers such as Optional, #result refers to the actual object, not the wrapper#root.method, #root.target, and #root.caches for references to the java.lang.reflect.Method, target object, and affected cache(s) respectively.#root.methodName) and target class (#root.targetClass) are also available. #root.args[1], #p1 or #a1. Arguments can also be accessed by name if that information is available.