Package io.micronaut.cache.interceptor
Class KotlinSuspendFunCacheKeyGenerator
java.lang.Object
io.micronaut.cache.interceptor.DefaultCacheKeyGenerator
io.micronaut.cache.interceptor.KotlinSuspendFunCacheKeyGenerator
- All Implemented Interfaces:
 CacheKeyGenerator
An implementation of the CacheKeyGenerator which works exactly like DefaultCacheKeyGenerator but drops the last parameter.
 
- Since:
 - 3.2.3
 - Author:
 - Jacek Gajek
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongenerateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, Object... params) Generate a key for the given annotated element and parameters. 
- 
Constructor Details
- 
KotlinSuspendFunCacheKeyGenerator
public KotlinSuspendFunCacheKeyGenerator() 
 - 
 - 
Method Details
- 
generateKey
public Object generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, Object... params) Description copied from interface:CacheKeyGeneratorGenerate a key for the given annotated element and parameters.- Specified by:
 generateKeyin interfaceCacheKeyGenerator- Overrides:
 generateKeyin classDefaultCacheKeyGenerator- Parameters:
 annotationMetadata- The annotated metadataparams- The parameters- Returns:
 - The generated key. Never null.
 
 
 -