Class CacheRemoveInterceptor

java.lang.Object
com.oracle.coherence.cdi.AbstractCacheInterceptor
com.oracle.coherence.cdi.CacheRemoveInterceptor

@Interceptor @Priority(1005) public class CacheRemoveInterceptor extends AbstractCacheInterceptor
A CDI interceptor that removes value from the cache and invokes target method.
  • Constructor Details

  • Method Details

    • cacheRemove

      public Object cacheRemove(jakarta.interceptor.InvocationContext ctxInvocation) throws Exception
      Removes cached value.
      Parameters:
      ctxInvocation - the invocation context
      Returns:
      result of the invocation of the target method
      Throws:
      Exception - if thrown by target method