public abstract class CacheOperation extends Object
| Constructor and Description |
|---|
CacheOperation() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void setName(String name)
public String getName()
public void setCacheName(String cacheName)
public void setCacheNames(String... cacheNames)
public void setKey(String key)
public String getKey()
public void setCondition(String condition)
public String getCondition()
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.
protected StringBuilder getOperationDescription()
Available to subclasses, for inclusion in their toString() result.