Class CacheableOperation
- java.lang.Object
- org.springframework.cache.interceptor.CacheOperation
- org.springframework.cache.interceptor.CacheableOperation
- All Implemented Interfaces:
BasicOperation
public class CacheableOperation extends CacheOperation
Class describing a cache 'cacheable' operation.- Since:
- 3.1
- Author:
- Costin Leau, Phillip Webb, Marcin Kamionowski
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheableOperation.BuilderA builder that can be used to create aCacheableOperation.
Constructor Summary
Constructors Constructor Description CacheableOperation(CacheableOperation.Builder b)Create a newCacheableOperationinstance from the given builder.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUnless()booleanisSync()Methods inherited from class org.springframework.cache.interceptor.CacheOperation
equals, getCacheManager, getCacheNames, getCacheResolver, getCondition, getKey, getKeyGenerator, getName, hashCode, toString
Constructor Detail
CacheableOperation
public CacheableOperation(CacheableOperation.Builder b)
Create a newCacheableOperationinstance from the given builder.- Since:
- 4.3