public abstract class CacheOperation
extends java.lang.Object
Constructor and Description |
---|
CacheOperation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
This implementation compares the
toString() results. |
java.util.Set<java.lang.String> |
getCacheNames() |
java.lang.String |
getCondition() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
protected java.lang.StringBuilder |
getOperationDescription()
Return an identifying description for this caching operation.
|
int |
hashCode()
This implementation returns
toString() 's hash code. |
void |
setCacheName(java.lang.String cacheName) |
void |
setCacheNames(java.lang.String... cacheNames) |
void |
setCondition(java.lang.String condition) |
void |
setKey(java.lang.String key) |
void |
setName(java.lang.String name) |
java.lang.String |
toString()
Return an identifying description for this cache operation.
|
public void setName(java.lang.String name)
public java.lang.String getName()
public void setCacheName(java.lang.String cacheName)
public void setCacheNames(java.lang.String... cacheNames)
public java.util.Set<java.lang.String> getCacheNames()
public void setKey(java.lang.String key)
public java.lang.String getKey()
public void setCondition(java.lang.String condition)
public java.lang.String getCondition()
public boolean equals(java.lang.Object other)
toString()
results.equals
in class java.lang.Object
toString()
public int hashCode()
toString()
's hash code.hashCode
in class java.lang.Object
toString()
public java.lang.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 java.lang.Object
protected java.lang.StringBuilder getOperationDescription()
Available to subclasses, for inclusion in their toString()
result.