public interface RepositoryService
Modifier and Type | Method and Description |
---|---|
Collection<Throwable> |
backupRepository(javax.jcr.Session session,
File backupDirectory)
This method backups up a running repository
|
Long |
getRepositoryObjectCount()
Calculate the number of objects in the repository
|
Long |
getRepositorySize()
Calculate the total size of all the binary properties in the repository
|
Collection<Throwable> |
restoreRepository(javax.jcr.Session session,
File backupDirectory)
This methods restores the repository from a backup
|
Long getRepositorySize()
Long getRepositoryObjectCount()
Collection<Throwable> backupRepository(javax.jcr.Session session, File backupDirectory)
session
- the sessionbackupDirectory
- the backup directoryCollection<Throwable> restoreRepository(javax.jcr.Session session, File backupDirectory)
session
- the sessionbackupDirectory
- the backup directoryCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.