public abstract class DBManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DBManager.BaseConsumer |
Modifier and Type | Field and Description |
---|---|
protected static File |
backupFolder |
protected static int |
backupIntervalMS |
protected String |
dbFileBaseFolder
dbFileName is used to open or create files that hold the state
of the db.
|
protected String |
dbFileName |
protected String |
dbName |
protected javax.jdo.PersistenceManagerFactory |
persistenceFactory |
protected static Properties |
prop |
Constructor and Description |
---|
DBManager()
Constructor for SQLDBManager
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Shutdown the db and close the connection to the db.
|
String |
getScheduledBackupInHours() |
boolean |
startBackUp() |
protected void |
zipFolder(File[] files) |
protected javax.jdo.PersistenceManagerFactory persistenceFactory
protected static File backupFolder
protected static Properties prop
protected String dbFileBaseFolder
protected String dbFileName
protected String dbName
protected static int backupIntervalMS
Copyright © 2020. All Rights Reserved.