Package ru.tinkoff.kora.cache.annotation
Annotation Interface Cacheable
An annotation that can be applied at the type or method level to indicate that the return value of the method
should be cached for the configured
value().-
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:
- {}
-