public class CacheManagerPersistenceConfiguration extends DefaultPersistenceConfiguration implements CacheManagerConfiguration<org.ehcache.PersistentCacheManager>, org.ehcache.core.HumanReadable
CacheManagerBuilder to return a more specific type of
CacheManager, that is a PersistentCacheManager.| Constructor and Description |
|---|
CacheManagerPersistenceConfiguration(java.io.File rootDirectory)
Creates a new configuration object with the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
CacheManagerBuilder<org.ehcache.PersistentCacheManager> |
builder(CacheManagerBuilder<? extends org.ehcache.CacheManager> other)
Transforms the builder received in one that returns a
PersistentCacheManager. |
java.lang.String |
readableString() |
build, derive, getRootDirectory, getServiceTypepublic CacheManagerPersistenceConfiguration(java.io.File rootDirectory)
rootDirectory - the root directory to use for disk storagepublic CacheManagerBuilder<org.ehcache.PersistentCacheManager> builder(CacheManagerBuilder<? extends org.ehcache.CacheManager> other)
PersistentCacheManager.builder in interface CacheManagerConfiguration<org.ehcache.PersistentCacheManager>other - the original builder to start fromCacheManager subtypepublic java.lang.String readableString()
readableString in interface org.ehcache.core.HumanReadable