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

public Class CacheEvictOperation

extends CacheOperation
Class Inheritance

Class describing a cache 'evict' operation.
Authors
Costin Leau, Marcin Kamionowski
Since
3.1

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CacheEvictOperation.Builder

A builder that can be used to create a CacheEvictOperation.

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
CacheEvictOperation(CacheEvictOperation.Builder b)

Create a new CacheEvictOperation instance from the given builder.

Method Summary

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

Field Detail

beforeInvocationback to summary
private final boolean beforeInvocation
cacheWideback to summary
private final boolean cacheWide

Constructor Detail

CacheEvictOperationback to summary
public CacheEvictOperation(CacheEvictOperation.Builder b)

Create a new CacheEvictOperation instance from the given builder.

Since
4.3

Method Detail

isBeforeInvocationback to summary
public boolean isBeforeInvocation()
isCacheWideback to summary
public boolean isCacheWide()
org.springframework.cache.interceptor back to summary

public Class CacheEvictOperation.Builder

extends Builder
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private boolean
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Return an identifying description for this caching operation.
public void
setBeforeInvocation(boolean beforeInvocation)

public void
setCacheWide(boolean cacheWide)

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

Field Detail

beforeInvocationback to summary
private boolean beforeInvocation
cacheWideback to summary
private boolean cacheWide

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public CacheEvictOperation 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
setBeforeInvocationback to summary
public void setBeforeInvocation(boolean beforeInvocation)
setCacheWideback to summary
public void setCacheWide(boolean cacheWide)