Constructor and Description |
---|
EhcacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations) |
EhcacheConfiguration |
copy() |
String |
getAction() |
org.ehcache.CacheManager |
getCacheManager() |
org.ehcache.config.Configuration |
getCacheManagerConfiguration() |
org.ehcache.config.CacheConfiguration<?,?> |
getConfiguration() |
Map<String,org.ehcache.config.CacheConfiguration> |
getConfigurations()
A map of cache configuration to be used to create caches.
|
String |
getConfigurationUri() |
String |
getConfigUri()
Deprecated.
use
getConfigurationUri() instead |
org.ehcache.event.EventFiring |
getEventFiring() |
org.ehcache.event.EventOrdering |
getEventOrdering() |
Set<org.ehcache.event.EventType> |
getEventTypes() |
Object |
getKey() |
String |
getKeyType() |
String |
getValueType() |
boolean |
hasCacheManager() |
boolean |
hasCacheManagerConfiguration() |
boolean |
hasConfiguration() |
boolean |
hasConfiguration(String name) |
boolean |
hasConfigurationUri() |
boolean |
isCreateCacheIfNotExist() |
void |
setAction(String action)
To configure the default cache action.
|
void |
setCacheManager(org.ehcache.CacheManager cacheManager)
The cache manager
|
void |
setCacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
The cache manager configuration
|
void |
setConfiguration(org.ehcache.config.CacheConfiguration<?,?> configuration)
The default cache configuration to be used to create caches.
|
void |
setConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations) |
void |
setConfigurationUri(String configurationUri)
URI pointing to the Ehcache XML configuration file's location
|
void |
setConfigUri(String configUri)
Deprecated.
use
setConfigurationUri(String) instead |
void |
setCreateCacheIfNotExist(boolean createCacheIfNotExist)
Configure if a cache need to be created if it does exist or can't be
pre-configured.
|
void |
setEventFiring(org.ehcache.event.EventFiring eventFiring) |
void |
setEventFiring(String eventFiring)
Set the delivery mode (synchronous, asynchronous)
|
void |
setEventOrdering(org.ehcache.event.EventOrdering eventOrdering) |
void |
setEventOrdering(String eventOrdering)
Set the delivery mode (ordered, unordered)
|
void |
setEventTypes(Set<org.ehcache.event.EventType> eventTypes) |
void |
setEventTypes(String eventTypesString)
Set the type of events to listen for
|
void |
setKey(Object key)
To configure the default action key.
|
void |
setKeyType(String keyType)
The cache key type, default "java.lang.Object"
|
void |
setValueType(String valueType)
The cache value type, default "java.lang.Object"
|
public void setConfigurationUri(String configurationUri)
public String getConfigurationUri()
public boolean hasConfigurationUri()
@Deprecated public String getConfigUri()
getConfigurationUri()
instead@Deprecated @Metadata(deprecationNote="use configurationUri instead") public void setConfigUri(String configUri)
setConfigurationUri(String)
insteadpublic boolean isCreateCacheIfNotExist()
public void setCreateCacheIfNotExist(boolean createCacheIfNotExist)
public String getAction()
public void setAction(String action)
public Object getKey()
public void setKey(Object key)
public org.ehcache.CacheManager getCacheManager()
public void setCacheManager(org.ehcache.CacheManager cacheManager)
public boolean hasCacheManager()
public org.ehcache.config.Configuration getCacheManagerConfiguration()
public void setCacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
public boolean hasCacheManagerConfiguration()
public org.ehcache.event.EventOrdering getEventOrdering()
public void setEventOrdering(String eventOrdering)
public void setEventOrdering(org.ehcache.event.EventOrdering eventOrdering)
public org.ehcache.event.EventFiring getEventFiring()
public void setEventFiring(String eventFiring)
public void setEventFiring(org.ehcache.event.EventFiring eventFiring)
public Set<org.ehcache.event.EventType> getEventTypes()
public void setEventTypes(String eventTypesString)
public void setEventTypes(Set<org.ehcache.event.EventType> eventTypes)
public void setConfiguration(org.ehcache.config.CacheConfiguration<?,?> configuration)
public org.ehcache.config.CacheConfiguration<?,?> getConfiguration()
public boolean hasConfiguration()
public boolean hasConfiguration(String name)
public Map<String,org.ehcache.config.CacheConfiguration> getConfigurations()
public void setConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
public void addConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
public String getKeyType()
public void setKeyType(String keyType)
public String getValueType()
public void setValueType(String valueType)
public EhcacheConfiguration copy()
Apache Camel