io.quarkus.cache.runtime.UndefinedCacheKeyGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-cache Show documentation
Show all versions of quarkus-cache Show documentation
Enable application data caching in CDI beans
package io.quarkus.cache.runtime;
import java.lang.reflect.Method;
import io.quarkus.cache.CacheKeyGenerator;
/**
* This {@link CacheKeyGenerator} implementation is ignored by {@link CacheInterceptor} when a cache key is computed.
*/
public class UndefinedCacheKeyGenerator implements CacheKeyGenerator {
@Override
public Object generate(Method method, Object... methodParams) {
throw new UnsupportedOperationException("This cache key generator should never be invoked");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy