Show / Hide Table of Contents

Enum MemoryBasedStateMachine.LogEntryCacheEvictionPolicy

Represents eviction policy of the entries located in the cache.

Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public enum MemoryBasedStateMachine.LogEntryCacheEvictionPolicy : byte

Fields

Name Description
OnCommit

Cached log entry is evicted only if committed.

OnSnapshot

Cached log entry remains alive until it will be snapshotted.

Extension Methods

BasicExtensions.IsBetween<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, TLowerBound, TUpperBound>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, ReadOnlySpan<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy>)
Collection.ToAsyncEnumerator<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, T>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, CancellationToken)
Collection.ToClassicEnumerator<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, T>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy)
Enumerator.Skip<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, T>(ref MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, int)
ExpressionBuilder.Const<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy)
EnumType.GetCustomAttribute<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, TAttribute>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy)
EnumType.GetCustomAttributes<MemoryBasedStateMachine.LogEntryCacheEvictionPolicy, TAttribute>(MemoryBasedStateMachine.LogEntryCacheEvictionPolicy)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾