public interface CacheKeyGenerator
An interface for generating keys used by Cacheable
.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
java.lang.Object... params)
Generate a key for the given annotated element and parameters.
|
java.lang.Object generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, java.lang.Object... params)
annotationMetadata
- The annotated metadataparams
- The parameters