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