Class CacheEvictOperation
- java.lang.Object
- org.springframework.cache.interceptor.CacheOperation
- org.springframework.cache.interceptor.CacheEvictOperation
- All Implemented Interfaces:
BasicOperation
public class CacheEvictOperation extends CacheOperation
Class describing a cache 'evict' operation.- Since:
- 3.1
- Author:
- Costin Leau, Marcin Kamionowski
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CacheEvictOperation.Builder
A builder that can be used to create aCacheEvictOperation
.
Constructor Summary
Constructors Constructor Description CacheEvictOperation(CacheEvictOperation.Builder b)
Create a newCacheEvictOperation
instance from the given builder.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBeforeInvocation()
boolean
isCacheWide()
Methods inherited from class org.springframework.cache.interceptor.CacheOperation
equals, getCacheManager, getCacheNames, getCacheResolver, getCondition, getKey, getKeyGenerator, getName, hashCode, toString
Constructor Detail
CacheEvictOperation
public CacheEvictOperation(CacheEvictOperation.Builder b)
Create a newCacheEvictOperation
instance from the given builder.- Since:
- 4.3
Method Detail
isCacheWide
public boolean isCacheWide()
isBeforeInvocation
public boolean isBeforeInvocation()