public interface LocalPersistenceService extends MaintainableService
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | LocalPersistenceService.SafeSpaceIdentifierIdentifier to the logical safe space | 
MaintainableService.MaintenanceScope| Modifier and Type | Method and Description | 
|---|---|
| void | createSafeSpace(LocalPersistenceService.SafeSpaceIdentifier safeSpaceId)Creates the safe space represented by  safeSpaceId, if it does not exist in the underlying physical space. | 
| LocalPersistenceService.SafeSpaceIdentifier | createSafeSpaceIdentifier(java.lang.String owner,
                         java.lang.String name)Creates a logical safe directory space for the owner and returns an identifying space Id. | 
| void | destroyAll(java.lang.String owner)Destroys all safe spaces provided to this owner. | 
| void | destroySafeSpace(LocalPersistenceService.SafeSpaceIdentifier safeSpaceId,
                boolean verbose)Destroys the safe space. | 
startForMaintenanceLocalPersistenceService.SafeSpaceIdentifier createSafeSpaceIdentifier(java.lang.String owner, java.lang.String name)
owner - Service owner that owns the safe space.name - Identifying name for the space.void createSafeSpace(LocalPersistenceService.SafeSpaceIdentifier safeSpaceId) throws CachePersistenceException
safeSpaceId, if it does not exist in the underlying physical space.safeSpaceId - Identifier to the created logical space on which the physical space needs to be createdCachePersistenceException - If the space cannot be created or found, due to system errorsvoid destroySafeSpace(LocalPersistenceService.SafeSpaceIdentifier safeSpaceId, boolean verbose)
safeSpaceId - Safe space identifier.verbose - Log more information.void destroyAll(java.lang.String owner)
owner - owner of safe spaces.