public class CacheManagerPersistenceConfiguration extends DefaultPersistenceConfiguration implements CacheManagerConfiguration<PersistentCacheManager>, 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<PersistentCacheManager> |
builder(CacheManagerBuilder<? extends CacheManager> other)
Transforms the builder received in one that returns a
PersistentCacheManager . |
java.lang.String |
readableString() |
build, derive, getRootDirectory, getServiceType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compatibleWith
public CacheManagerPersistenceConfiguration(java.io.File rootDirectory)
rootDirectory
- the root directory to use for disk storagepublic CacheManagerBuilder<PersistentCacheManager> builder(CacheManagerBuilder<? extends CacheManager> other)
PersistentCacheManager
.builder
in interface CacheManagerConfiguration<PersistentCacheManager>
other
- the original builder to start fromCacheManager
subtypepublic java.lang.String readableString()
readableString
in interface HumanReadable