Class EhcacheCacheManagerConfiguration
java.lang.Object
io.micronaut.cache.ehcache.configuration.EhcacheCacheManagerConfiguration
Configuration class for the Ehcache 
CacheManager.- Since:
 - 1.0.0
 - Author:
 - Álvaro Sánchez-Mariscal
 - See Also:
 - 
CacheManagerBuilder
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClustering configuration. - 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionEhcacheCacheManagerConfiguration(List<EhcacheClusterResourcePoolConfiguration> resourcePoolConfigurations)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.ehcache.config.builders.CacheManagerBuildervoidsetBuilder(org.ehcache.config.builders.CacheManagerBuilder builder) voidvoidsetDefaultSizeOfMaxObjectSize(Long defaultSizeOfMaxObjectSize) voidsetStoragePath(String storagePath)  
- 
Field Details
- 
PREFIX
- See Also:
 
 
 - 
 - 
Constructor Details
- 
EhcacheCacheManagerConfiguration
public EhcacheCacheManagerConfiguration(List<EhcacheClusterResourcePoolConfiguration> resourcePoolConfigurations) - Parameters:
 resourcePoolConfigurations- the resource pool configurations
 
 - 
 - 
Method Details
- 
getBuilder
public org.ehcache.config.builders.CacheManagerBuilder getBuilder()- Returns:
 - the configuration builder
 
 - 
setBuilder
public void setBuilder(org.ehcache.config.builders.CacheManagerBuilder builder) - Parameters:
 builder- the configuration builder
 - 
getDefaultSizeOfMaxObjectSize
- Returns:
 - the default maximum size of the largest object in the cache
 
 - 
setDefaultSizeOfMaxObjectSize
- Parameters:
 defaultSizeOfMaxObjectSize- the default maximum size of the largest object in the cache
 - 
getStoragePath
- Returns:
 - the storage path in the file system
 
 - 
setStoragePath
- Parameters:
 storagePath- the storage path in the file system
 - 
getCluster
- Returns:
 - the cluster configuration
 
 - 
setCluster
- Parameters:
 cluster- the cluster configuration
 
 -