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 withCacheResultorCacheInvalidateis 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
-
-