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