Package io.micronaut.cache.interceptor
Interface CacheKeyGenerator
- All Known Implementing Classes:
DefaultCacheKeyGenerator
,KotlinSuspendFunCacheKeyGenerator
public interface CacheKeyGenerator
An interface for generating keys used by Cacheable
.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptiongenerateKey
(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, Object... params) Generate a key for the given annotated element and parameters.
-
Method Details