class CacheRemoveOperation extends AbstractJCacheKeyOperation<CacheRemove>
JCacheOperation implementation for a CacheRemove operation.CacheRemoveAbstractJCacheOperation.CacheInvocationParameterImpl, AbstractJCacheOperation.CacheParameterDetail| Modifier and Type | Field and Description |
|---|---|
private ExceptionTypeFilter |
exceptionTypeFilter |
allParameterDetails| Constructor and Description |
|---|
CacheRemoveOperation(<any> methodDetails,
CacheResolver cacheResolver,
KeyGenerator keyGenerator) |
| Modifier and Type | Method and Description |
|---|---|
ExceptionTypeFilter |
getExceptionTypeFilter()
Return the
ExceptionTypeFilter to use to filter exceptions thrown while
invoking the method. |
boolean |
isEarlyRemove()
Specify if the cache entry should be remove before invoking the method.
|
getKeyGenerator, getKeyParameterscreateExceptionTypeFilter, getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getCacheNames, getCacheResolver, getMethod, getOperationDescription, toStringprivate final ExceptionTypeFilter exceptionTypeFilter
public CacheRemoveOperation(<any> methodDetails,
CacheResolver cacheResolver,
KeyGenerator keyGenerator)
public ExceptionTypeFilter getExceptionTypeFilter()
AbstractJCacheOperationExceptionTypeFilter to use to filter exceptions thrown while
invoking the method.getExceptionTypeFilter in class AbstractJCacheOperation<CacheRemove>public boolean isEarlyRemove()
javax.cache.annotation.CacheRemove#afterInvocation()