|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.cache.interceptor.CacheOperation
public abstract class CacheOperation
Base class implementing CacheOperation
.
Constructor Summary | |
---|---|
CacheOperation()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
This implementation compares the toString() results. |
Set<String> |
getCacheNames()
|
String |
getCondition()
|
String |
getKey()
|
String |
getName()
|
protected StringBuilder |
getOperationDescription()
Return an identifying description for this caching 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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CacheOperation()
Method Detail |
---|
public Set<String> getCacheNames()
public String getCondition()
public String getKey()
public String getName()
public 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 Object
toString()
public int hashCode()
toString()
's hash code.
hashCode
in class Object
toString()
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
protected StringBuilder getOperationDescription()
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 |