Package io.quarkus.cache
Class CompositeCacheKey
java.lang.Object
io.quarkus.cache.CompositeCacheKey
A composite cache key is used by the annotations caching API when a method annotated with
CacheResult
or
CacheInvalidate
is invoked and when the cache key is composed of several of the method arguments (annotated with
CacheKey
or not). This class can also be used with the programmatic caching API.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CompositeCacheKey
Constructor.- Parameters:
keyElements
- key elements- Throws:
IllegalArgumentException
- if no key elements are provided
-
-
Method Details