Class LiveFilesStorageInfoOptions
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Options for GetLiveFilesStorageInfo(LiveFilesStorageInfoOptions?).
Maps to rocksdb_livefiles_storage_info_options_t.
public sealed class LiveFilesStorageInfoOptions : RocksDbHandle, IDisposable
- Inheritance
-
LiveFilesStorageInfoOptions
- Implements
- Inherited Members
Constructors
LiveFilesStorageInfoOptions()
public LiveFilesStorageInfoOptions()
Properties
AtomicFlush
If true, any flush this triggers covers every column family atomically.
public bool AtomicFlush { get; set; }
Property Value
IncludeChecksumInfo
If true, each entry carries its checksum and the name of the function that produced it, which a copy tool can verify against.
public bool IncludeChecksumInfo { get; set; }
Property Value
WalSizeForFlush
Flush memtables when the WAL exceeds this many bytes, so the reported set of files is more complete.
public ulong WalSizeForFlush { get; set; }
Property Value
Remarks
The default of 0 means "always flush", so calling GetLiveFilesStorageInfo(LiveFilesStorageInfoOptions?) flushes by default. Set this high to avoid that.
Methods
DisposeHandle()
Releases the native handle. Called during disposal.
protected override void DisposeHandle()
Remarks
Protected rather than public: it destroys the native object without marking this instance disposed or clearing the handle, so calling it from outside and then disposing normally would free the same pointer twice. It was the most Dispose-looking member on the type. Callers want Dispose().