类 CacheEvictOperation
- java.lang.Object
- org.springframework.cache.interceptor.CacheOperation
- org.springframework.cache.interceptor.CacheEvictOperation
- 所有已实现的接口:
BasicOperation
public class CacheEvictOperation extends CacheOperation
Class describing a cache 'evict' operation.- 从以下版本开始:
- 3.1
- 作者:
- Costin Leau, Marcin Kamionowski
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
CacheEvictOperation.Builder
A builder that can be used to create aCacheEvictOperation
.
构造器概要
构造器 构造器 说明 CacheEvictOperation(CacheEvictOperation.Builder b)
Create a newCacheEvictOperation
instance from the given builder.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
isBeforeInvocation()
boolean
isCacheWide()
从类继承的方法 org.springframework.cache.interceptor.CacheOperation
equals, getCacheManager, getCacheNames, getCacheResolver, getCondition, getKey, getKeyGenerator, getName, hashCode, toString
构造器详细资料
CacheEvictOperation
public CacheEvictOperation(CacheEvictOperation.Builder b)
Create a newCacheEvictOperation
instance from the given builder.- 从以下版本开始:
- 4.3
方法详细资料
isCacheWide
public boolean isCacheWide()
isBeforeInvocation
public boolean isBeforeInvocation()