Class LogEntryBufferingOptions
Represents options for creating buffered Raft log entries.
Inherited Members
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public class LogEntryBufferingOptions
Properties
| Edit this page View SourceBufferSize
Gets or sets buffer size for internal I/O operations.
Declaration
public int BufferSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|
MemoryAllocator
Gets or sets memory allocator.
Declaration
public MemoryAllocator<byte>? MemoryAllocator { get; set; }
Property Value
Type | Description |
---|---|
MemoryAllocator<byte> |
MemoryThreshold
The maximum size of log entry that can be stored in-memory without saving the content to the disk.
Declaration
public int MemoryThreshold { get; set; }
Property Value
Type | Description |
---|---|
int |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
|
TempPath
Gets or sets full path to the directory used as temporary storage of large log entries.
Declaration
public string TempPath { get; set; }
Property Value
Type | Description |
---|---|
string |