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, storeResource
public void backup() throws java.io.IOException, java.lang.Exception
java.lang.Exception
java.io.IOException
public void restore() throws java.io.IOException
java.io.IOException
public static Scheduler getScheduler()