Package | Description |
---|---|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.config.generator.model.elements |
This package contains utility classes encapsulating ideas of Elements and Attributes from the ehcache.xsd
|
Modifier and Type | Field and Description |
---|---|
protected TerracottaConfiguration |
CacheConfiguration.terracottaConfiguration
The TerracottaConfiguration.
|
Modifier and Type | Method and Description |
---|---|
TerracottaConfiguration |
TerracottaConfiguration.cacheXA(boolean cacheXA) |
TerracottaConfiguration |
TerracottaConfiguration.clone()
Clones this object, following the usual contract.
|
TerracottaConfiguration |
TerracottaConfiguration.clustered(boolean clustered) |
TerracottaConfiguration |
TerracottaConfiguration.coherent(boolean coherent)
Deprecated.
since 2.4 Use
consistency(Consistency) instead |
TerracottaConfiguration |
TerracottaConfiguration.coherentReads(boolean coherentReads)
Deprecated.
|
TerracottaConfiguration |
TerracottaConfiguration.compressionEnabled(boolean enabled) |
TerracottaConfiguration |
TerracottaConfiguration.concurrency(int concurrency) |
TerracottaConfiguration |
TerracottaConfiguration.consistency(TerracottaConfiguration.Consistency consistency)
Setter for consistency, returns this instance
|
TerracottaConfiguration |
TerracottaConfiguration.copyOnRead(boolean isCopyOnRead)
Deprecated.
|
TerracottaConfiguration |
CacheConfiguration.getTerracottaConfiguration()
Accessor
|
TerracottaConfiguration |
TerracottaConfiguration.localCacheEnabled(boolean localCacheEnabled)
Enable or disable the local cache
|
TerracottaConfiguration |
TerracottaConfiguration.localKeyCache(boolean localKeyCache) |
TerracottaConfiguration |
TerracottaConfiguration.localKeyCacheSize(int localKeyCacheSize) |
TerracottaConfiguration |
TerracottaConfiguration.nonstop(NonstopConfiguration nonstopConfiguration)
Set the
NonstopConfiguration |
TerracottaConfiguration |
TerracottaConfiguration.orphanEviction(boolean orphanEviction) |
TerracottaConfiguration |
TerracottaConfiguration.orphanEvictionPeriod(int orphanEvictionPeriod) |
TerracottaConfiguration |
TerracottaConfiguration.synchronousWrites(boolean synchronousWrites) |
Modifier and Type | Method and Description |
---|---|
void |
CacheConfiguration.addTerracotta(TerracottaConfiguration terracottaConfiguration)
Allows BeanHandler to add the TerracottaConfiguration to the configuration.
|
CacheConfiguration |
CacheConfiguration.terracotta(TerracottaConfiguration terracottaConfiguration) |
Constructor and Description |
---|
TerracottaConfigurationElement(NodeElement parent,
TerracottaConfiguration tcConfiguration)
Constructor accepting the parent and the
TerracottaConfiguration |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.