public abstract class CacheOperation extends Object implements BasicOperation
Modifier and Type | Class and Description |
---|---|
static class |
CacheOperation.Builder
Base class for builders that can be used to create a
CacheOperation . |
Modifier | Constructor and Description |
---|---|
protected |
CacheOperation(CacheOperation.Builder b)
Create a new
CacheOperation instance from the given builder. |
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() |
int |
hashCode()
This implementation returns
toString() 's hash code. |
String |
toString()
Return an identifying description for this cache operation.
|
protected CacheOperation(CacheOperation.Builder b)
CacheOperation
instance from the given builder.public String getName()
public Set<String> getCacheNames()
BasicOperation
getCacheNames
in interface BasicOperation
public String getKey()
public String getKeyGenerator()
public String getCacheManager()
public String getCacheResolver()
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 final String toString()
Returned value is produced by calling CacheOperation.Builder.getOperationDescription()
during object construction. This method is used in hashCode()
and
equals(java.lang.Object)
.
toString
in class Object
CacheOperation.Builder.getOperationDescription()