Package com.oracle.coherence.cdi
Class CacheRemoveInterceptor
java.lang.Object
com.oracle.coherence.cdi.AbstractCacheInterceptor
com.oracle.coherence.cdi.CacheRemoveInterceptor
A CDI interceptor that removes value from the cache and invokes target method.
-
Constructor Summary
ConstructorDescriptionCacheRemoveInterceptor
(Coherence coherence, CoherenceExtension extension) Create theCacheRemoveInterceptor
-
Method Summary
Modifier and TypeMethodDescriptioncacheRemove
(jakarta.interceptor.InvocationContext ctxInvocation) Removes cached value.Methods inherited from class com.oracle.coherence.cdi.AbstractCacheInterceptor
getCoherence, getExtension, getSession
-
Constructor Details
-
CacheRemoveInterceptor
Create theCacheRemoveInterceptor
- Parameters:
coherence
- the Coherence instanceextension
- the Coherence CDI extension
-
-
Method Details
-
cacheRemove
Removes cached value.- Parameters:
ctxInvocation
- the invocation context- Returns:
- result of the invocation of the target method
- Throws:
Exception
- if thrown by target method
-