Show / Hide Table of Contents

Interface ILogCompactionSupport

Represents audit trail that supports background compaction of committed log entries.

Inherited Members
IAuditTrail.WaitForApplyAsync(long, CancellationToken)
IAuditTrail.WaitForApplyAsync(CancellationToken)
IAuditTrail.CommitAsync(long, CancellationToken)
IAuditTrail.InitializeAsync(CancellationToken)
IAuditTrail.ReadAsync<TResult>(ILogEntryConsumer<ILogEntry, TResult>, long, long, CancellationToken)
IAuditTrail.IsLogEntryLengthAlwaysPresented
IAuditTrail.LastCommittedEntryIndex
IAuditTrail.LastEntryIndex
Namespace: DotNext.IO.Log
Assembly: DotNext.IO.dll
Syntax
public interface ILogCompactionSupport : IAuditTrail

Methods

View Source

ForceCompactionAsync(CancellationToken)

Forces compaction of committed log entries.

Declaration
ValueTask ForceCompactionAsync(CancellationToken token)
Parameters
Type Name Description
CancellationToken token

Tje token that can be used to cancel the operation.

Returns
Type Description
ValueTask

The task representing asynchronous execution of the operation.

Exceptions
Type Condition
OperationCanceledException

The operation has been canceled.

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾