Package io.quarkus.cache
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 withCacheResult
orCacheInvalidate
is invoked. This class can also be used with the programmatic caching API.
-
-
Constructor Summary
Constructors Constructor Description DefaultCacheKey(String cacheName)
Constructor.
-
-
-
Constructor Detail
-
DefaultCacheKey
public DefaultCacheKey(String cacheName)
Constructor.- Parameters:
cacheName
- cache name- Throws:
NullPointerException
- if the cache name isnull
-
-