Package com.db4o.ext

Examples of com.db4o.ext.ExtObjectContainer.backup()


     
      removeObsoleteBackupFiles(DB_FOLDER_NAME);
      try {
        ExtObjectContainer extDb = db.ext();
        if (!extDb.isClosed()) {
          extDb.backup(backupFileName);
          logger.debug("successfully created new DB4O backup '{}' in {}ms", backupFileName, System.currentTimeMillis() - startTime);
        } else {
          logger.debug("couldn't create DB4O backup '{}' because db is closed", backupFileName);
        }
      } catch(Db4oException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.