public abstract class CacheOperation extends java.lang.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(java.lang.Object other)
This implementation compares the
toString() results. |
java.lang.String |
getCacheManager() |
java.util.Set<java.lang.String> |
getCacheNames()
Return the cache name(s) associated with the operation.
|
java.lang.String |
getCacheResolver() |
java.lang.String |
getCondition() |
java.lang.String |
getKey() |
java.lang.String |
getKeyGenerator() |
java.lang.String |
getName() |
int |
hashCode()
This implementation returns
toString() 's hash code. |
java.lang.String |
toString()
Return an identifying description for this cache operation.
|
protected CacheOperation(CacheOperation.Builder b)
CacheOperation
instance from the given builder.public java.lang.String getName()
public java.util.Set<java.lang.String> getCacheNames()
BasicOperation
getCacheNames
in interface BasicOperation
public java.lang.String getKey()
public java.lang.String getKeyGenerator()
public java.lang.String getCacheManager()
public java.lang.String getCacheResolver()
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 final java.lang.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 java.lang.Object
CacheOperation.Builder.getOperationDescription()