Class PersistentState.Options
Represents configuration options of the persistent audit trail.
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public class Options : object
Properties
| Improve this Doc View SourceBufferSize
Gets size of in-memory buffer for I/O operations.
Declaration
public int BufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
InitialPartitionSize
Gets or sets the initial size of the file that holds the partition with log entries.
Declaration
public long InitialPartitionSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Int64 |
MaxConcurrentReads
Gets or sets the number of possible parallel reads.
Declaration
public int MaxConcurrentReads { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
UseCaching
Enables or disables in-memory cache.
Declaration
public bool UseCaching { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean | true to in-memory cache for faster read/write of log entries; false to reduce the memory by the cost of the performance. |
UseSharedPool
Gets or sets value indicating usage policy of array pools.
Declaration
public bool UseSharedPool { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean | true to use |