Top Description Inners Fields Constructors Methods
org.springframework.cache.interceptor

public Class CachePutOperation

extends CacheOperation
Class Inheritance
Imports
org.springframework.lang.Nullable

Class describing a cache 'put' operation.
Authors
Costin Leau, Phillip Webb, Marcin Kamionowski
Since
3.1

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CachePutOperation.Builder

A builder that can be used to create a CachePutOperation.

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
CachePutOperation(CachePutOperation.Builder b)

Create a new CachePutOperation instance from the given builder.

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from org.springframework.cache.interceptor.CacheOperation:
equalsgetCacheManagergetCacheNamesgetCacheResolvergetConditiongetKeygetKeyGeneratorgetNamehashCodetoString

Field Detail

unlessback to summary
private final String unless
Annotations
@Nullable

Constructor Detail

CachePutOperationback to summary
public CachePutOperation(CachePutOperation.Builder b)

Create a new CachePutOperation instance from the given builder.

Since
4.3

Method Detail

getUnlessback to summary
public String getUnless()
Annotations
@Nullable
org.springframework.cache.interceptor back to summary

public Class CachePutOperation.Builder

extends Builder
Class Inheritance

A builder that can be used to create a CachePutOperation.
Since
4.3

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CachePutOperation
protected StringBuilder
getOperationDescription()

Overrides org.springframework.cache.interceptor.CacheOperation.Builder.getOperationDescription.

Return an identifying description for this caching operation.

public void
setUnless(String unless)

Inherited from org.springframework.cache.interceptor.CacheOperation.Builder:
getCacheManagergetCacheNamesgetCacheResolvergetKeygetKeyGeneratorsetCacheManagersetCacheNamesetCacheNamessetCacheResolversetConditionsetKeysetKeyGeneratorsetName

Field Detail

unlessback to summary
private String unless
Annotations
@Nullable

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public CachePutOperation build()

Implements abstract org.springframework.cache.interceptor.CacheOperation.Builder.build.

Annotations
@Override
getOperationDescriptionback to summary
protected StringBuilder getOperationDescription()

Overrides org.springframework.cache.interceptor.CacheOperation.Builder.getOperationDescription.

Doc from org.springframework.cache.interceptor.CacheOperation.Builder.getOperationDescription.

Return an identifying description for this caching operation.

Available to subclasses, for inclusion in their toString() result.

Annotations
@Override
setUnlessback to summary
public void setUnless(String unless)