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 | Method and Description |
---|---|
PersistenceConfiguration |
CacheConfiguration.getPersistenceConfiguration()
Accessor
|
PersistenceConfiguration |
PersistenceConfiguration.strategy(PersistenceConfiguration.Strategy strategy)
Builder method to set the persistence strategy
|
PersistenceConfiguration |
PersistenceConfiguration.strategy(String strategy)
Builder method to set the persistence strategy using a String object
|
PersistenceConfiguration |
PersistenceConfiguration.synchronousWrites(boolean synchronousWrites)
Builder method to set the persistence write mode
|
Modifier and Type | Method and Description |
---|---|
void |
CacheConfiguration.addPersistence(PersistenceConfiguration persistenceConfiguration)
Sets the PersistenceConfiguration for this cache.
|
CacheConfiguration |
CacheConfiguration.persistence(PersistenceConfiguration persistenceConfiguration)
Builder to set the PersistenceConfiguration for this cache.
|
Constructor and Description |
---|
PersistenceConfigurationElement(ConfigurationElement parent,
PersistenceConfiguration persistenceConfiguration)
Construtor accepting the parent and the
PersistenceConfiguration |
PersistenceConfigurationElement(NodeElement element,
PersistenceConfiguration persistenceConfiguration)
Construtor accepting the element and the
PersistenceConfiguration |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.