Examples of SnapshotManagerInternal


Examples of org.xtreemfs.babudb.api.dev.SnapshotManagerInternal

            if(Logging.isDebug())
              Logging.logMessage(Logging.LEVEL_DEBUG, this,
                  "snapshot materialization request found for database '" +
                  rq.dbName + "', snapshot: '" + rq.snap.getName() + "'");
           
            SnapshotManagerInternal snapMan = dbs.getSnapshotManager();
           
            // write the snapshot
            dbs.getDatabaseManager().getDatabase(rq.dbName)
                    .proceedWriteSnapshot(rq.snapIDs,
                            snapMan.getSnapshotDir(rq.dbName,
                            rq.snap.getName()), rq.snap);
           
            // notify the snapshot manager about the completion
            // of the snapshot
            snapMan.snapshotComplete(rq.dbName, rq.snap);
           
            Logging.logMessage(Logging.LEVEL_DEBUG, this,
                        "snapshot materialization complete");
        }
    }
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.