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 withCacheResultorCacheInvalidateis invoked and when the cache key is composed of several of the method arguments (annotated withCacheKeyor 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
-
-