Class KotlinSuspendFunCacheKeyGenerator

java.lang.Object
io.micronaut.cache.interceptor.DefaultCacheKeyGenerator
io.micronaut.cache.interceptor.KotlinSuspendFunCacheKeyGenerator
All Implemented Interfaces:
CacheKeyGenerator

@Deprecated(forRemoval=true, since="5.3.0") @Introspected public class KotlinSuspendFunCacheKeyGenerator extends DefaultCacheKeyGenerator
Deprecated, for removal: This API element is subject to removal in a future version.
Not used, the params are correctly calculated in CacheInterceptor

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
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, Object... params)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generate a key for the given annotated element and parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KotlinSuspendFunCacheKeyGenerator

      public KotlinSuspendFunCacheKeyGenerator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • generateKey

      public Object generateKey(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata, Object... params)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: CacheKeyGenerator
      Generate a key for the given annotated element and parameters.
      Specified by:
      generateKey in interface CacheKeyGenerator
      Overrides:
      generateKey in class DefaultCacheKeyGenerator
      Parameters:
      annotationMetadata - The annotated metadata
      params - The parameters
      Returns:
      The generated key. Never null.