MCPcopy Create free account
hub / github.com/bytedance/terarkdb / open

Method open

java/src/main/java/org/rocksdb/BackupEngine.java:35–38  ·  view source on GitHub ↗

Opens a new Backup Engine @param env The environment that the backup engine should operate within @param options Any options for the backup engine @return A new BackupEngine instance @throws RocksDBException thrown if the backup engine could not be opened

(final Env env,
      final BackupableDBOptions options)

Source from the content-addressed store, hash-verified

33 * @throws RocksDBException thrown if the backup engine could not be opened
34 */
35 public static BackupEngine open(final Env env,
36 final BackupableDBOptions options) throws RocksDBException {
37 return new BackupEngine(open(env.nativeHandle_, options.nativeHandle_));
38 }
39
40 /**
41 * Captures the state of the database in the latest backup

Callers 6

backupDbMethod · 0.95
deleteBackupMethod · 0.95
purgeOldBackupsMethod · 0.95
restoreLatestBackupMethod · 0.95
restoreFromBackupMethod · 0.95
backupDbWithMetadataMethod · 0.95

Calls

no outgoing calls

Tested by 6

backupDbMethod · 0.76
deleteBackupMethod · 0.76
purgeOldBackupsMethod · 0.76
restoreLatestBackupMethod · 0.76
restoreFromBackupMethod · 0.76
backupDbWithMetadataMethod · 0.76