Package ru.tinkoff.kora.cache.annotation
Annotation Interface CachePut
An annotation that can be applied at the type or method level to indicate that the annotated operation should
cause the return value to be cached within the given cache name. Unlike
Cacheable this annotation will never
skip the original invocation.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Limit the automaticCacheKeyMapperto the given parameter names.
-
Element Details
-
value
- Returns:
- cache name (correlate with name in configuration file)
-
-
-
parameters
String[] parametersLimit the automaticCacheKeyMapperto the given parameter names. Mutually exclusive with- Returns:
- The parameter names that make up the key.
- Default:
- {}
-