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 classCacheEvictOperation.BuilderA builder that can be used to create aCacheEvictOperation.
Constructor Summary
Constructors Constructor Description CacheEvictOperation(CacheEvictOperation.Builder b)Create a newCacheEvictOperationinstance from the given builder.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBeforeInvocation()booleanisCacheWide()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 newCacheEvictOperationinstance from the given builder.- Since:
- 4.3
Method Detail
isCacheWide
public boolean isCacheWide()
isBeforeInvocation
public boolean isBeforeInvocation()