Package org.rocksdb

Class RestoreOptions

All Implemented Interfaces:
AutoCloseable

public class RestoreOptions extends RocksObject
RestoreOptions to control the behavior of restore.

Note that dispose() must be called before this instance become out-of-scope to release the allocated memory in c++.

  • Constructor Details

    • RestoreOptions

      public RestoreOptions(boolean keepLogFiles)
      Constructor
      Parameters:
      keepLogFiles - If true, restore won't overwrite the existing log files in wal_dir. It will also move all log files from archive directory to wal_dir. Use this option in combination with BackupEngineOptions::backup_log_files = false for persisting in-memory databases. Default: false
  • Method Details