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