Class CacheInterceptor
java.lang.Object
io.quarkus.infinispan.client.runtime.cache.CacheInterceptor
- Direct Known Subclasses:
CacheInvalidateAllInterceptor,CacheInvalidateInterceptor,CacheResultInterceptor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int(package private) org.infinispan.client.hotrod.RemoteCacheManagerprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.smallrye.mutiny.Uni<?> asyncInvocationResultToUni(Object invocationResult, CacheInterceptor.ReturnType returnType) protected ObjectcreateAsyncResult(io.smallrye.mutiny.Uni<Object> cacheValue, CacheInterceptor.ReturnType returnType) protected static CacheInterceptor.ReturnTypedetermineReturnType(Class<?> returnType) protected ObjectgetCacheKey(Object[] methodParameterValues) protected <T extends Annotation>
CacheInterceptionContext<T> getInterceptionContext(jakarta.interceptor.InvocationContext invocationContext, Class<T> interceptorBindingClass) protected org.infinispan.client.hotrod.RemoteCacheManager
-
Field Details
-
BASE_PRIORITY
public static final int BASE_PRIORITY- See Also:
-
UNHANDLED_ASYNC_RETURN_TYPE_MSG
- See Also:
-
remoteCacheManager
org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager
-
-
Constructor Details
-
CacheInterceptor
public CacheInterceptor()
-
-
Method Details
-
getInterceptionContext
protected <T extends Annotation> CacheInterceptionContext<T> getInterceptionContext(jakarta.interceptor.InvocationContext invocationContext, Class<T> interceptorBindingClass) -
getRemoteCacheManager
protected org.infinispan.client.hotrod.RemoteCacheManager getRemoteCacheManager() -
getCacheKey
-
determineReturnType
-
asyncInvocationResultToUni
protected io.smallrye.mutiny.Uni<?> asyncInvocationResultToUni(Object invocationResult, CacheInterceptor.ReturnType returnType) -
createAsyncResult
protected Object createAsyncResult(io.smallrye.mutiny.Uni<Object> cacheValue, CacheInterceptor.ReturnType returnType)
-