public abstract static class CacheOperation.Builder extends Object
CacheOperation
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract CacheOperation |
build() |
String |
getCacheManager() |
Set<String> |
getCacheNames() |
String |
getCacheResolver() |
String |
getKey() |
String |
getKeyGenerator() |
protected StringBuilder |
getOperationDescription()
Return an identifying description for this caching operation.
|
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) |
public void setName(String name)
public void setCacheName(String cacheName)
public void setCacheNames(String... cacheNames)
public void setKey(String key)
public String getKey()
public String getKeyGenerator()
public String getCacheManager()
public String getCacheResolver()
public void setKeyGenerator(String keyGenerator)
public void setCacheManager(String cacheManager)
public void setCacheResolver(String cacheResolver)
public void setCondition(String condition)
protected StringBuilder getOperationDescription()
Available to subclasses, for inclusion in their toString()
result.
public abstract CacheOperation build()