Show / Hide Table of Contents

Class PersistentState.Options

Represents configuration options of the persistent audit trail.

Inheritance
Object
PersistentState.Options
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public class Options : object

Properties

| Improve this Doc View Source

BufferSize

Gets size of in-memory buffer for I/O operations.

Declaration
public int BufferSize { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

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
| Improve this Doc View Source

MaxConcurrentReads

Gets or sets the number of possible parallel reads.

Declaration
public int MaxConcurrentReads { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

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.

| Improve this Doc View Source

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 pool for internal purposes; false to use dedicated pool of arrays.

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ExpressionBuilder.Const<T>(T)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX