Package io.quarkus.cache.runtime
Class CacheInterceptor
- java.lang.Object
-
- io.quarkus.cache.runtime.CacheInterceptor
-
- Direct Known Subclasses:
CacheInvalidateAllInterceptor,CacheInvalidateInterceptor,CacheResultInterceptor
public abstract class CacheInterceptor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intBASE_PRIORITY(package private) CacheManagercacheManager
-
Constructor Summary
Constructors Constructor Description CacheInterceptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectgetCacheKey(Cache cache, List<Short> cacheKeyParameterPositions, Object[] methodParameterValues)protected <T extends Annotation>
CacheInterceptionContext<T>getInterceptionContext(javax.interceptor.InvocationContext invocationContext, Class<T> interceptorBindingClass, boolean supportsCacheKey)protected static booleanisUniReturnType(javax.interceptor.InvocationContext invocationContext)
-
-
-
Field Detail
-
BASE_PRIORITY
public static final int BASE_PRIORITY
- See Also:
- Constant Field Values
-
cacheManager
@Inject CacheManager cacheManager
-
-
Method Detail
-
getInterceptionContext
protected <T extends Annotation> CacheInterceptionContext<T> getInterceptionContext(javax.interceptor.InvocationContext invocationContext, Class<T> interceptorBindingClass, boolean supportsCacheKey)
-
getCacheKey
protected Object getCacheKey(Cache cache, List<Short> cacheKeyParameterPositions, Object[] methodParameterValues)
-
isUniReturnType
protected static boolean isUniReturnType(javax.interceptor.InvocationContext invocationContext)
-
-