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
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
Modifier and Type | Method and Description |
---|---|
TerracottaClientConfiguration |
TerracottaClientConfiguration.clone()
Clones this object, following the usual contract.
|
TerracottaClientConfiguration |
Configuration.getTerracottaConfiguration()
Gets the TerracottaClientConfiguration
|
TerracottaClientConfiguration |
TerracottaClientConfiguration.rejoin(boolean rejoin)
Builder method to set rejoin
|
TerracottaClientConfiguration |
TerracottaClientConfiguration.url(String url)
Builder method to set the URL.
|
TerracottaClientConfiguration |
TerracottaClientConfiguration.url(String host,
String port)
Builder method to set the URL for a host and a port.
|
TerracottaClientConfiguration |
TerracottaClientConfiguration.wanEnabledTSA(boolean wanEnabledTSA)
Builder method to set wanEnabledTSA
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.addTerracottaConfig(TerracottaClientConfiguration terracottaConfiguration)
Allows BeanHandler to add a Terracotta configuration to the configuration
|
Configuration |
Configuration.terracotta(TerracottaClientConfiguration terracottaConfiguration)
Builder method to Terracotta capabilities to the cache manager through a dedicated configuration, this can only be used once.
|
Constructor and Description |
---|
TerracottaConfigConfigurationElement(NodeElement parent,
TerracottaClientConfiguration tcConfigConfiguration)
Constructor accepting the parent and the
TerracottaClientConfiguration |
Constructor and Description |
---|
TerracottaClient(CacheManager cacheManager,
TerracottaClientConfiguration terracottaClientConfiguration)
Constructor accepting the
CacheManager and the TerracottaClientConfiguration |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.