class CacheRemoveOperation extends AbstractJCacheKeyOperation<CacheRemove>
JCacheOperation
implementation for a CacheRemove
operation.CacheRemove
AbstractJCacheOperation.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, getKeyParameters
createExceptionTypeFilter, getAllParameters, getAnnotations, getCacheAnnotation, getCacheName, getCacheNames, getCacheResolver, getMethod, getOperationDescription, toString
private final ExceptionTypeFilter exceptionTypeFilter
public CacheRemoveOperation(<any> methodDetails, CacheResolver cacheResolver, KeyGenerator keyGenerator)
public ExceptionTypeFilter getExceptionTypeFilter()
AbstractJCacheOperation
ExceptionTypeFilter
to use to filter exceptions thrown while
invoking the method.getExceptionTypeFilter
in class AbstractJCacheOperation<CacheRemove>
public boolean isEarlyRemove()
javax.cache.annotation.CacheRemove#afterInvocation()