Class DefaultCacheKey

java.lang.Object
io.quarkus.cache.DefaultCacheKey

public class DefaultCacheKey extends Object
A default cache key is used by the annotations caching API when a no-args method annotated with CacheResult or CacheInvalidate is invoked. This class can also be used with the programmatic caching API.
  • Constructor Details

    • DefaultCacheKey

      public DefaultCacheKey(String cacheName)
      Constructor.
      Parameters:
      cacheName - cache name
      Throws:
      NullPointerException - if the cache name is null
  • Method Details