|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.cache.interceptor.DefaultCacheUpdateDefinition
public class DefaultCacheUpdateDefinition
Default implementation of the CacheUpdateDefinition interface.
| Constructor Summary | |
|---|---|
DefaultCacheUpdateDefinition()
|
|
| 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. |
void |
setCacheName(String cacheName)
|
void |
setCacheNames(String[] cacheNames)
|
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.CacheUpdateDefinition |
|---|
getKey |
| Methods inherited from interface org.springframework.cache.interceptor.CacheDefinition |
|---|
getCacheNames, getCondition, getName |
| Constructor Detail |
|---|
public DefaultCacheUpdateDefinition()
| Method Detail |
|---|
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 Objectprotected StringBuilder getDefinitionDescription()
Available to subclasses, for inclusion in their toString() result.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||