Top Description Fields Constructors Methods
org.springframework.cache.jcache.interceptor

pack-priv Class CacheRemoveAllOperation

extends AbstractJCacheOperation<CacheRemoveAll>
Class Inheritance
Imports
javax.cache.annotation.CacheMethodDetails, .CacheRemoveAll, org.springframework.cache.interceptor.CacheResolver, org.springframework.util.ExceptionTypeFilter

The JCacheOperation implementation for a CacheRemoveAll operation.
Author
Stephane Nicoll
Since
4.1
See Also
CacheRemoveAll

Field Summary

Modifier and TypeField and Description
private final ExceptionTypeFilter
Inherited from org.springframework.cache.jcache.interceptor.AbstractJCacheOperation:
allParameterDetails

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ExceptionTypeFilter
getExceptionTypeFilter()

Implements abstract org.springframework.cache.jcache.interceptor.AbstractJCacheOperation.getExceptionTypeFilter.

Return the ExceptionTypeFilter to use to filter exceptions thrown while invoking the method.

public boolean
isEarlyRemove()

Specify if the cache should be cleared before invoking the method.

Inherited from org.springframework.cache.jcache.interceptor.AbstractJCacheOperation:
createExceptionTypeFiltergetAllParametersgetAnnotationsgetCacheAnnotationgetCacheNamegetCacheNamesgetCacheResolvergetMethodgetOperationDescriptiontoString

Field Detail

exceptionTypeFilterback to summary
private final ExceptionTypeFilter exceptionTypeFilter

Constructor Detail

CacheRemoveAllOperationback to summary
public CacheRemoveAllOperation(CacheMethodDetails<CacheRemoveAll> methodDetails, CacheResolver cacheResolver)

Method Detail

getExceptionTypeFilterback to summary
public ExceptionTypeFilter getExceptionTypeFilter()

Implements abstract org.springframework.cache.jcache.interceptor.AbstractJCacheOperation.getExceptionTypeFilter.

Doc from org.springframework.cache.jcache.interceptor.AbstractJCacheOperation.getExceptionTypeFilter.

Return the ExceptionTypeFilter to use to filter exceptions thrown while invoking the method.

Annotations
@Override
isEarlyRemoveback to summary
public boolean isEarlyRemove()

Specify if the cache should be cleared before invoking the method. By default, the cache is cleared after the method invocation.

See Also
javax.cache.annotation.CacheRemoveAll#afterInvocation()