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 removed 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.public boolean isEarlyRemove()
By default, the cache entry is removed after the method invocation.
javax.cache.annotation.CacheRemove#afterInvocation()