Class CachePutOperation.Builder
java.lang.Object
org.springframework.cache.interceptor.CacheOperation.Builder
org.springframework.cache.interceptor.CachePutOperation.Builder
- Enclosing class:
- CachePutOperation
A builder that can be used to create a
CachePutOperation
.- Since:
- 4.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected StringBuilder
Return an identifying description for this caching operation.void
Methods inherited from class org.springframework.cache.interceptor.CacheOperation.Builder
getCacheManager, getCacheNames, getCacheResolver, getKey, getKeyGenerator, setCacheManager, setCacheName, setCacheNames, setCacheResolver, setCondition, setKey, setKeyGenerator, setName
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setUnless
-
getOperationDescription
Description copied from class:CacheOperation.Builder
Return an identifying description for this caching operation.Available to subclasses, for inclusion in their
toString()
result.- Overrides:
getOperationDescription
in classCacheOperation.Builder
-
build
- Specified by:
build
in classCacheOperation.Builder
-