spring-framework / org.springframework.cache.annotation / CachePut / key

key

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: