Interface ILogCompactionSupport
Represents audit trail that supports background compaction of committed log entries.
Inherited Members
Namespace: DotNext.IO.Log
Assembly: DotNext.IO.dll
Syntax
public interface ILogCompactionSupport : IAuditTrail
Methods
| Edit this page View SourceForceCompactionAsync(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. |