Package org.rocksdb
Class RestoreOptions
java.lang.Object
org.rocksdb.AbstractNativeReference
org.rocksdb.AbstractImmutableNativeReference
org.rocksdb.RocksObject
org.rocksdb.RestoreOptions
- All Implemented Interfaces:
AutoCloseable
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++.
-
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
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
-
disposeInternal
protected final void disposeInternal(long handle) - Specified by:
disposeInternalin classRocksObject
-