@Introspected public class KotlinSuspendFunCacheKeyGenerator extends DefaultCacheKeyGenerator
An implementation of the CacheKeyGenerator
which works exactly like DefaultCacheKeyGenerator
but drops the last parameter.
Constructor and Description |
---|
KotlinSuspendFunCacheKeyGenerator() |
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.
|
public java.lang.Object generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, java.lang.Object... params)
CacheKeyGenerator
generateKey
in interface CacheKeyGenerator
generateKey
in class DefaultCacheKeyGenerator
annotationMetadata
- The annotated metadataparams
- The parameters