Class CacheInterceptor

java.lang.Object
io.quarkus.infinispan.client.runtime.cache.CacheInterceptor
Direct Known Subclasses:
CacheInvalidateAllInterceptor, CacheInvalidateInterceptor, CacheResultInterceptor

public abstract class CacheInterceptor extends Object
  • Field Details

    • BASE_PRIORITY

      public static final int BASE_PRIORITY
      See Also:
    • UNHANDLED_ASYNC_RETURN_TYPE_MSG

      protected static final String 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

      protected Object getCacheKey(Object[] methodParameterValues)
    • determineReturnType

      protected static CacheInterceptor.ReturnType determineReturnType(Class<?> returnType)
    • 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)