Table of Contents

Class FlushWalOptions

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

Options for flushing the write-ahead log. Maps to rocksdb_flushwaloptions_t.

public sealed class FlushWalOptions : RocksDbHandle, IDisposable
Inheritance
FlushWalOptions
Implements
Inherited Members

Constructors

FlushWalOptions()

public FlushWalOptions()

Properties

RateLimiterPriority

Priority this flush is given by the rate limiter, if one is configured.

public RateLimiterPriority RateLimiterPriority { get; set; }

Property Value

RateLimiterPriority

Sync

If true, the WAL is synced to durable storage, not merely handed to the operating system.

public bool Sync { get; set; }

Property Value

bool

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().