Package io.quarkus.cache
Interface CacheKeyGenerator
-
- All Known Implementing Classes:
UndefinedCacheKeyGenerator
public interface CacheKeyGeneratorImplement this interface to generate a cache key based on the cached method, its parameters or any data available from within the generator. The implementation is injected as a CDI bean if possible or is instantiated using the default constructor otherwise.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectgenerate(Method method, Object... methodParams)Generates a cache key.
-