|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.cache.interceptor.DefaultCacheInvalidateDefinition
public class DefaultCacheInvalidateDefinition
Default implementation of the CacheInvalidateDefinition interface.
| Constructor Summary | |
|---|---|
DefaultCacheInvalidateDefinition()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
This implementation compares the toString() results. |
Set<String> |
getCacheNames()
Returns the names of the cache against which this operation is performed. |
String |
getCondition()
Returns the SpEL expression conditioning the operation. |
protected StringBuilder |
getDefinitionDescription()
Return an identifying description for this caching definition. |
String |
getKey()
Returns the SpEL expression identifying the cache key. |
String |
getName()
Returns the name of this operation. |
int |
hashCode()
This implementation returns toString()'s hash code. |
boolean |
isCacheWide()
Returns whether the operation affects the entire cache or not. |
void |
setCacheName(String cacheName)
|
void |
setCacheNames(String[] cacheNames)
|
void |
setCacheWide(boolean cacheWide)
|
void |
setCondition(String condition)
|
void |
setKey(String key)
|
void |
setName(String name)
|
String |
toString()
Return an identifying description for this cache operation definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.cache.interceptor.CacheDefinition |
|---|
getCacheNames, getCondition, getKey, getName |
| Constructor Detail |
|---|
public DefaultCacheInvalidateDefinition()
| Method Detail |
|---|
public boolean isCacheWide()
CacheInvalidateDefinition
isCacheWide in interface CacheInvalidateDefinitionpublic void setCacheWide(boolean cacheWide)
protected StringBuilder getDefinitionDescription()
Available to subclasses, for inclusion in their toString() result.
public Set<String> getCacheNames()
CacheDefinition
getCacheNames in interface CacheDefinitionpublic String getCondition()
CacheDefinition
getCondition in interface CacheDefinitionpublic String getKey()
CacheDefinition
getKey in interface CacheDefinitionpublic String getName()
CacheDefinition
getName in interface CacheDefinitionpublic void setCacheName(String cacheName)
public void setCacheNames(String[] cacheNames)
public void setCondition(String condition)
public void setKey(String key)
public void setName(String name)
public boolean equals(Object other)
toString() results.
equals in class ObjecttoString()public int hashCode()
toString()'s hash code.
hashCode in class ObjecttoString()public String toString()
Has to be overridden in subclasses for correct equals
and hashCode behavior. Alternatively, equals(java.lang.Object)
and hashCode() can be overridden themselves.
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||