public class DataManager extends XMLStorage
XMLStorage.XMLStorageNotAvailableException| Constructor and Description |
|---|
DataManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
backup()
Backups the current content of the XMLStorage
|
static Scheduler |
getScheduler()
Gets the scheduler for automatic and periodic backups of the XMLStorage.
Automatic backups are scheduled via the scheduledBackupInHours variable in the service's JNDI. |
void |
restore()
Restores from the latest backup
|
collectionExists, createCollection, deleteCollection, deleteResource, executeXPathQuery, getStatus, initialize, initialize, isLocked, listAllCollectionResourceIDs, loadAllCollections, printResourcesIDs, resourceExists, retrieveResourceContent, setStatus, shutdown, storeResourcepublic void backup()
throws java.io.IOException,
java.lang.Exception
java.lang.Exceptionjava.io.IOExceptionpublic void restore()
throws java.io.IOException
java.io.IOExceptionpublic static Scheduler getScheduler()