public class DefaultLocalPersistenceService
extends java.lang.Object
implements org.ehcache.core.spi.service.LocalPersistenceService
| Constructor and Description |
|---|
DefaultLocalPersistenceService(DefaultPersistenceConfiguration persistenceConfiguration)
Creates a new service instance using the provided configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createSafeSpace(org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier safeSpaceId) |
org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier |
createSafeSpaceIdentifier(java.lang.String owner,
java.lang.String identifier) |
void |
destroyAll(java.lang.String owner) |
void |
destroySafeSpace(org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier safeSpaceId,
boolean verbose) |
void |
start(org.ehcache.spi.service.ServiceProvider<org.ehcache.spi.service.Service> serviceProvider) |
void |
startForMaintenance(org.ehcache.spi.service.ServiceProvider<? super org.ehcache.spi.service.MaintainableService> serviceProvider,
org.ehcache.spi.service.MaintainableService.MaintenanceScope maintenanceScope) |
void |
stop() |
public DefaultLocalPersistenceService(DefaultPersistenceConfiguration persistenceConfiguration)
persistenceConfiguration - the configuration to usepublic void start(org.ehcache.spi.service.ServiceProvider<org.ehcache.spi.service.Service> serviceProvider)
start in interface org.ehcache.spi.service.Servicepublic void startForMaintenance(org.ehcache.spi.service.ServiceProvider<? super org.ehcache.spi.service.MaintainableService> serviceProvider,
org.ehcache.spi.service.MaintainableService.MaintenanceScope maintenanceScope)
startForMaintenance in interface org.ehcache.spi.service.MaintainableServicepublic void stop()
stop in interface org.ehcache.spi.service.Servicepublic org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier createSafeSpaceIdentifier(java.lang.String owner,
java.lang.String identifier)
createSafeSpaceIdentifier in interface org.ehcache.core.spi.service.LocalPersistenceServicepublic void createSafeSpace(org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier safeSpaceId)
throws org.ehcache.CachePersistenceException
createSafeSpace in interface org.ehcache.core.spi.service.LocalPersistenceServiceorg.ehcache.CachePersistenceExceptionpublic void destroySafeSpace(org.ehcache.core.spi.service.LocalPersistenceService.SafeSpaceIdentifier safeSpaceId,
boolean verbose)
destroySafeSpace in interface org.ehcache.core.spi.service.LocalPersistenceServicepublic void destroyAll(java.lang.String owner)
destroyAll in interface org.ehcache.core.spi.service.LocalPersistenceService