|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.informationsystem.collector.impl.xmlstorage.exist.XMLStorage
org.gcube.informationsystem.collector.impl.xmlstorage.exist.DataManager
public class DataManager
Data Manager
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.informationsystem.collector.impl.xmlstorage.exist.XMLStorage |
|---|
XMLStorage.XMLStorageNotAvailableException |
| Constructor Summary | |
|---|---|
DataManager()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.gcube.informationsystem.collector.impl.xmlstorage.exist.XMLStorage |
|---|
collectionExists, createCollection, deleteCollection, deleteResource, executeXPathQuery, getStatus, initialize, initialize, isLocked, listAllCollectionResourceIDs, loadAllCollections, printResourcesIDs, resourceExists, retrieveResourceContent, setStatus, shutdown, storeResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataManager()
| Method Detail |
|---|
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.IOExceptionpublic static Scheduler getScheduler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||