Package io.quarkus.cache.runtime
Class CompositeCacheKey
- java.lang.Object
-
- io.quarkus.cache.runtime.CompositeCacheKey
-
public class CompositeCacheKey extends Object
A composite cache key is used by the annotations caching API when a method annotated withCacheResultorCacheInvalidateis invoked and when the cache key is composed of several of the method arguments (annotated withCacheKeyor not).
-
-
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
-
-