Class WalReadOptions
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Options for reading the write-ahead log through
GetUpdatesSince(ulong, WalReadOptions?).
Maps to rocksdb_wal_readoptions_t.
public sealed class WalReadOptions : RocksDbHandle, IDisposable
- Inheritance
-
WalReadOptions
- Implements
- Inherited Members
Constructors
WalReadOptions()
public WalReadOptions()
Properties
VerifyChecksums
If true, each WAL record's checksum is verified as it is read, so a corrupt log is reported rather than replayed.
public bool VerifyChecksums { get; set; }
Property Value
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().