org.ehcache.config.persistence
Class CacheManagerPersistenceConfiguration

java.lang.Object
  extended by org.ehcache.config.persistence.CacheManagerPersistenceConfiguration
All Implemented Interfaces:
CacheManagerConfiguration<PersistentCacheManager>, PersistenceConfiguration, ServiceCreationConfiguration<LocalPersistenceService>

public class CacheManagerPersistenceConfiguration
extends java.lang.Object
implements PersistenceConfiguration, CacheManagerConfiguration<PersistentCacheManager>


Constructor Summary
CacheManagerPersistenceConfiguration(java.io.File rootDirectory)
           
 
Method Summary
 CacheManagerBuilder<PersistentCacheManager> builder(CacheManagerBuilder<? extends CacheManager> other)
           
 java.io.File getRootDirectory()
           
 java.lang.Class<LocalPersistenceService> getServiceType()
          Indicates which service consumes this configuration at creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerPersistenceConfiguration

public CacheManagerPersistenceConfiguration(java.io.File rootDirectory)
Method Detail

getRootDirectory

public java.io.File getRootDirectory()
Specified by:
getRootDirectory in interface PersistenceConfiguration

getServiceType

public java.lang.Class<LocalPersistenceService> getServiceType()
Description copied from interface: ServiceCreationConfiguration
Indicates which service consumes this configuration at creation.

Specified by:
getServiceType in interface ServiceCreationConfiguration<LocalPersistenceService>
Returns:
the service type

builder

public CacheManagerBuilder<PersistentCacheManager> builder(CacheManagerBuilder<? extends CacheManager> other)
Specified by:
builder in interface CacheManagerConfiguration<PersistentCacheManager>