Class CacheableOperation.Builder
java.lang.Object
org.springframework.cache.interceptor.CacheOperation.Builder
org.springframework.cache.interceptor.CacheableOperation.Builder
- Enclosing class:
- CacheableOperation
A builder that can be used to create a 
CacheableOperation.- Since:
- 4.3
- Author:
- Costin Leau, Phillip Webb, Marcin Kamionowski
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()protected StringBuilderReturn an identifying description for this caching operation.voidsetSync(boolean sync) voidMethods inherited from class CacheOperation.BuildergetCacheManager, getCacheNames, getCacheResolver, getKey, getKeyGenerator, setCacheManager, setCacheName, setCacheNames, setCacheResolver, setCondition, setKey, setKeyGenerator, setName
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
setUnless
- 
setSyncpublic void setSync(boolean sync) 
- 
getOperationDescriptionDescription copied from class:CacheOperation.BuilderReturn an identifying description for this caching operation.Available to subclasses, for inclusion in their toString()result.- Overrides:
- getOperationDescriptionin class- CacheOperation.Builder
 
- 
build- Specified by:
- buildin class- CacheOperation.Builder
 
 
-